Skip to content

Commit acb9bdc

Browse files
nishadkamdardavem330
authored andcommitted
net: stmmac: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in header files related to STMicroelectronics based Multi-Gigabit Ethernet driver. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches <[email protected]> Signed-off-by: Nishad Kamdar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 26b3f3c commit acb9bdc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac5.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
1+
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
22
// Copyright (c) 2017 Synopsys, Inc. and/or its affiliates.
33
// stmmac Support for 5.xx Ethernet QoS cores
44

drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
1+
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
22
/*
33
* Copyright (c) 2018 Synopsys, Inc. and/or its affiliates.
44
* stmmac XGMAC definitions.

drivers/net/ethernet/stmicro/stmmac/hwif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
1+
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
22
// Copyright (c) 2018 Synopsys, Inc. and/or its affiliates.
33
// stmmac HW Interface Callbacks
44

0 commit comments

Comments
 (0)