staging: comedi: add missing MODULE_DESCRIPTION/LICENSE
PATCH 1/1 staging: comedi: add missing MODULE_DESCRIPTION/LICENSE
--- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/staging/comedi/drivers/ni_atmio.c +3 -0
@@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, };module_comedi_driver (ni_atmio_driver); + +MODULE_DESCRIPTION ("Comedi low-level driver" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.14.1
Greg Kroah-Hartman
maintainerQuoted 1 line · Jesse Chan
Signed-off-by Jesse Chan <[email protected]>
I can't take patches without any changelog text :(
PATCH v2 1/1 staging: comedi: add missing MODULE_DESCRIPTION/LICENSE
In reply to Jesse ChanThis change resolves a new compile-time warning
when built as a loadable module:
WARNING: modpost: missing MODULE_LICENSE() in drivers/staging/comedi/drivers/ni_atmio.o see include/linux/module.h for more information
This adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTION is also added.
--- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/staging/comedi/drivers/ni_atmio.c +3 -0
@@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, };module_comedi_driver (ni_atmio_driver); + +MODULE_DESCRIPTION ("Comedi low-level driver" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.14.1
Quoted 20 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/staging/comedi/drivers/ni_atmio.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>--- drivers/staging/comedi/drivers/ni_atmio.c | 3 +++ 1 file changed, 3 insertions(+)drivers/staging/comedi/drivers/ni_atmio.c +0
-0
drivers/staging/comedi/drivers/ni_atmio.c static struct comedi_driver ni_atmio_driver = { · line 366
Quoted 6 lines
drivers/staging/comedi/drivers/ni_atmio.c +3
-0@@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, };module_comedi_driver (ni_atmio_driver); + +MODULE_DESCRIPTION ("Comedi low-level driver" ); +MODULE_LICENSE ("GPL" );
Thanks! I wonder how I managed to miss out this driver in commit 3c323c01b6bd ("Staging: comedi: Add MODULE_LICENSE and similar to NI modules")?
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Web: http://www.mev.co.uk/ )=-
Quoted 30 lines · Ian Abbott
Quoted 20 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/staging/comedi/drivers/ni_atmio.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>---
drivers/staging/comedi/drivers/ni_atmio.c| 3 +++1 file changed, 3 insertions(+)drivers/staging/comedi/drivers/ni_atmio.c +0
-0drivers/staging/comedi/drivers/ni_atmio.c static struct comedi_driver ni_atmio_driver = { · line 366
Quoted 6 lines
drivers/staging/comedi/drivers/ni_atmio.c +3
-0@@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, }; module_comedi_driver(ni_atmio_driver); + +MODULE_DESCRIPTION ("Comedi low-level driver" ); +MODULE_LICENSE ("GPL" );Thanks! I wonder how I managed to miss out this driver in commit
3c323c01b6bd("Staging: comedi: AddMODULE_LICENSEand similar to NI modules")?
Quoted 1 line
Reviewed-by Ian Abbott <[email protected]>
Despite my above comment, we should probably give precedence to Matthew Giassa's patch for the same issue, since it was sent earlier.
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Web: http://www.mev.co.uk/ )=-
Quoted 38 lines · Ian Abbott
Quoted 30 lines · Ian Abbott
Quoted 20 lines · Jesse Chan
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing
MODULE_LICENSE()indrivers/staging/comedi/drivers/ni_atmio.oseeinclude/linux/module.hfor more informationThis adds the license as "GPL", which matches the header of the file.
MODULE_DESCRIPTIONis also added.Signed-off-by Jesse Chan <[email protected]>---
drivers/staging/comedi/drivers/ni_atmio.c| 3 +++1 file changed, 3 insertions(+)drivers/staging/comedi/drivers/ni_atmio.c +0
-0drivers/staging/comedi/drivers/ni_atmio.c static struct comedi_driver ni_atmio_driver = { · line 366
Quoted 6 lines
drivers/staging/comedi/drivers/ni_atmio.c +3
-0@@ -361,3 +361,6 @@ static struct comedi_driver ni_atmio_driver = { .detach = ni_atmio_detach, }; module_comedi_driver(ni_atmio_driver); + +MODULE_DESCRIPTION ("Comedi low-level driver" ); +MODULE_LICENSE ("GPL" );Thanks! I wonder how I managed to miss out this driver in commit
3c323c01b6bd("Staging: comedi: AddMODULE_LICENSEand similar to NI modules")?Quoted 1 line
Reviewed-by Ian Abbott <[email protected]>Despite my above comment, we should probably give precedence to Matthew Giassa's patch for the same issue, since it was sent earlier.
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Web: http://www.mev.co.uk/ )=-
Signature · 4 lines
Thanks. Also, this one should probably include the MODULE_AUTHOR macro as well. Cheers!