staging: netlogic: Fixed comments to include SPDX-License-Identifier
PATCH 1/1 staging: netlogic: Fixed comments to include SPDX-License-Identifier
This patch fixes some issues with missing SPDX-License-Identifier comments.
Disclaimer: this is my first patch and instructions were taken from the KernelNewbies project.
Signed-off-by Michael Anckaert <[email protected]>
--- drivers/staging/netlogic/Kconfig | 6 +++--- drivers/staging/netlogic/platform_net.c | 1 + drivers/staging/netlogic/platform_net.h | 1 + drivers/staging/netlogic/xlr_net.c | 1 + drivers/staging/netlogic/xlr_net.h | 1 + 5 files changed, 7 insertions(+), 3 deletions(-)
drivers/staging/netlogic/Kconfig +3 -3
@@ -2,6 +2,6 @@ config NETLOGIC_XLR_NET tristate "Netlogic XLR/XLS network device" depends on CPU_XLR select PHYLIB - ---help--- - This driver support Netlogic XLR/XLS on chip gigabit - Ethernet. + help + This driver support Netlogic XLR/XLS on chip gigabit + Ethernet.
drivers/staging/netlogic/platform_net.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2003-2012 Broadcom Corporation * All Rights Reserved
drivers/staging/netlogic/platform_net.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2003-2012 Broadcom Corporation * All Rights Reserved
drivers/staging/netlogic/xlr_net.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2003-2012 Broadcom Corporation * All Rights Reserved
drivers/staging/netlogic/xlr_net.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2003-2012 Broadcom Corporation * All Rights Reserved
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 5 lines · Michael Anckaert
This patch fixes some issues with missing SPDX-License-Identifier comments.
Disclaimer: this is my first patch and instructions were taken from the KernelNewbies project.
This does not belong in a changelog comment. If you want to put info like this, put it below the --- line.
Quoted 15 lines
Signed-off-by Michael Anckaert <[email protected]>--- drivers/staging/netlogic/Kconfig | 6 +++--- drivers/staging/netlogic/platform_net.c | 1 + drivers/staging/netlogic/platform_net.h | 1 + drivers/staging/netlogic/xlr_net.c | 1 + drivers/staging/netlogic/xlr_net.h | 1 + 5 files changed, 7 insertions(+), 3 deletions(-)drivers/staging/netlogic/Kconfig +0
-0
drivers/staging/netlogic/Kconfig config NETLOGIC_XLR_NET · line 7
Quoted 9 lines
drivers/staging/netlogic/Kconfig +3
-3@@ -2,6 +2,6 @@ config NETLOGIC_XLR_NET tristate "Netlogic XLR/XLS network device" depends on CPU_XLR select PHYLIB - ---help--- - This driver support Netlogic XLR/XLS on chip gigabit - Ethernet. + help + This driver support Netlogic XLR/XLS on chip gigabit + Ethernet.
This change has nothing to do with spdx identifiers :(
Please fix up and resend as 2 different patches.
thanks,
greg k-h