gdm724x: add SPDX License in gdm724x drivers
PATCH 1/1 gdm724x: add SPDX License in gdm724x drivers
This work ensure SPDX-License convention is followed. License is taken from file gdm_mux.c present in drivers/staging/gdm724x.
--- drivers/staging/gdm724x/gdmulte.mod.c | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 drivers/staging/gdm724x/gdmulte.mod.c
drivers/staging/gdm724x/gdmulte.mod.c new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */ + +#include <linux/module.h> +#define INCLUDE_VERMAGIC +#include <linux/build-salt.h> +#include <linux/elfnote-lto.h> +#include <linux/vermagic.h> +#include <linux/compiler.h> + +BUILD_SALT ; +BUILD_LTO_INFO ; + +MODULE_INFO (vermagic,VERMAGIC_STRING ); +MODULE_INFO (name,KBUILD_MODNAME ); + +__visible struct module __this_module +__section(".gnu.linkonce.this_module") = { + .name = KBUILD_MODNAME, + .init = init_module, +#ifdef CONFIG_MODULE_UNLOAD + .exit = cleanup_module, +#endif + .arch =MODULE_ARCH_INIT , +}; + +MODULE_INFO (intree,"Y" ); + +#ifdef CONFIG_RETPOLINE +MODULE_INFO (retpoline,"Y" ); +#endif + +MODULE_INFO (staging,"Y" ); + +MODULE_INFO (depends,"" ); + +MODULE_ALIAS ("usb:v1076p8000d*dc*dsc*dp*ic02isc06ip*in*" ); +MODULE_ALIAS ("usb:v1076p9000d*dc*dsc*dp*ic02isc06ip*in*" ); + +MODULE_INFO (srcversion,"EBCF613A4FE4F4BD3A2C60F" );
Signature · 1 line
2.25.1
Greg KH
maintainerQuoted 8 lines · Ankit Kumar Pandey
This work ensure SPDX-License convention is followed. License is taken from file
gdm_mux.cpresent indrivers/staging/gdm724x.Signed-off-by Ankit Kumar Pandey <[email protected]>--- drivers/staging/gdm724x/gdmulte.mod.c | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 drivers/staging/gdm724x/gdmulte.mod.c
Why are you adding this file to the kernel source tree?
Greg KH
maintainerRe: [PATCH] gdm724x: add SPDX License in gdm724x drivers (resend)
In reply to a message not in the archiveQuoted 5 lines · Ankit Pandey
I am sorry, there was some issue with my git and I was looking at wrong history. I have fixed my git and checked
drivers/staging/gdm724x/for license issues. No such issue was present.
Please ignore this patch.
Quoted 15 lines
Note: This was my first patch, I am still figuring out and learning things.
Quoted 11 lines · Greg KH,
Quoted 8 lines · Ankit Kumar Pandey
This work ensure SPDX-License convention is followed. License is taken from file
gdm_mux.cpresent indrivers/staging/gdm724x.Signed-off-by Ankit Kumar Pandey <[email protected]>--- drivers/staging/gdm724x/gdmulte.mod.c | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 drivers/staging/gdm724x/gdmulte.mod.cWhy are you adding this file to the kernel source tree?
This file should not have been in your git history at all, it is automataically generated by the build.
So what tool was scanning it for a SPDX license?
thanks,
greg k-h