Input: add missing MODULE_DESCRIPTION() macros
Subsystems (4)
PATCH 1/1 Input: add missing MODULE_DESCRIPTION() macros
On x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/input/touchscreen/cyttsp_i2c_common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/input/misc/soc_button_array.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/input/matrix-keymap.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/input/vivaldi-fmap.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/input/tests/input_test.o
Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE().
This includes drivers/input/misc/sgi_btns.c which, although it did not produce a warning with the x86 allmodconfig configuration, may cause this warning with other configurations when either CONFIG_SGI_IP22 or CONFIG_SGI_IP32 is enabled.
--- drivers/input/matrix-keymap.c | 1 + drivers/input/misc/sgi_btns.c | 1 + drivers/input/misc/soc_button_array.c | 1 + drivers/input/tests/input_test.c | 1 + drivers/input/touchscreen/cyttsp_i2c_common.c | 1 + drivers/input/vivaldi-fmap.c | 1 + 6 files changed, 6 insertions(+)
drivers/input/matrix-keymap.c +1 -0
@@ -199,4 +199,5 @@ int matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data, }EXPORT_SYMBOL (matrix_keypad_build_keymap); +MODULE_DESCRIPTION ("Helpers for matrix keyboard bindings" );MODULE_LICENSE ("GPL" );
drivers/input/misc/sgi_btns.c +1 -0
@@ -128,4 +128,5 @@ static struct platform_driver sgi_buttons_driver = { };module_platform_driver (sgi_buttons_driver); +MODULE_DESCRIPTION ("SGI Indy/O2 volume button interface driver" );MODULE_LICENSE ("GPL" );
drivers/input/misc/soc_button_array.c +1 -0
@@ -620,4 +620,5 @@ static struct platform_driver soc_button_driver = { };module_platform_driver (soc_button_driver); +MODULE_DESCRIPTION ("Windows-compatible SoC Button Array driver" );MODULE_LICENSE ("GPL" );
drivers/input/tests/input_test.c +1 -0
@@ -179,4 +179,5 @@ static struct kunit_suite input_test_suite = {kunit_test_suite (input_test_suite);MODULE_AUTHOR ("Javier Martinez Canillas <[email protected]>" ); +MODULE_DESCRIPTION ("KUnit test for the input core" );MODULE_LICENSE ("GPL" );
drivers/input/touchscreen/cyttsp_i2c_common.c +1 -0
@@ -81,5 +81,6 @@ int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf,EXPORT_SYMBOL_GPL (cyttsp_i2c_write_block_data); +MODULE_DESCRIPTION ("Cypress TrueTouch(TM) Standard Product (TTSP) I2C touchscreen driver" );MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Cypress" );
drivers/input/vivaldi-fmap.c +1 -0
@@ -36,4 +36,5 @@ ssize_t vivaldi_function_row_physmap_show(const struct vivaldi_data *data, }EXPORT_SYMBOL_GPL (vivaldi_function_row_physmap_show); +MODULE_DESCRIPTION ("Helpers for ChromeOS Vivaldi keyboard function row mapping" );MODULE_LICENSE ("GPL" );
---
base-commit: 19ca0d8a433ff37018f9429f7e7739e9f3d3d2b4
change-id: 20240609-md-drivers-input-beea779cc2a3
Quoted 10 lines · Jeff Johnson
On x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missingMODULE_DESCRIPTION()indrivers/input/touchscreen/cyttsp_i2c_common.o
WARNING: modpost: missingMODULE_DESCRIPTION()indrivers/input/misc/soc_button_array.o
WARNING: modpost: missingMODULE_DESCRIPTION()indrivers/input/matrix-keymap.o
WARNING: modpost: missingMODULE_DESCRIPTION()indrivers/input/vivaldi-fmap.o
WARNING: modpost: missingMODULE_DESCRIPTION()indrivers/input/tests/input_test.oAdd the missing invocation of the
MODULE_DESCRIPTION()macro to all files which have aMODULE_LICENSE().
Quoted 6 lines
This includes
drivers/input/misc/sgi_btns.cwhich, although it did not produce a warning with the x86 allmodconfig configuration, may cause this warning with other configurations when eitherCONFIG_SGI_IP22orCONFIG_SGI_IP32is enabled.Signed-off-by Jeff Johnson <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry