Skip to contentSkip to conversation

hwmon: sg2042: add back module description/author tags

PATCH Applied Arnd Bergmann 4 participants 5 messages Feb 5, 2025 – Feb 7, 2025 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: sg2042: add back module description/author tags

From: Arnd Bergmann <[email protected]>

A previous code reorganization inadvertently dropped the two tags, which leads to a "make W=1" warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o

Add these back.

Fixes cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")
---
 drivers/hwmon/sg2042-mcu.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/sg2042-mcu.c +2 -0
index 74c35945d169..105131c4acf7 100644
@@ -355,4 +355,6 @@ static struct i2c_driver sg2042_mcu_driver = {
 };
 module_i2c_driver(sg2042_mcu_driver);
 
+MODULE_AUTHOR("Inochi Amaoto <[email protected]>");
+MODULE_DESCRIPTION("MCU I2C driver for SG2042 soc platform");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.39.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A previous code reorganization inadvertently dropped the two tags, which leads to a "make W=1" warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o

Add these back.

Fixes cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")
Quoted 18 lines
---
 drivers/hwmon/sg2042-mcu.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/sg2042-mcu.c +2 -0
index 74c35945d169..105131c4acf7 100644
@@ -355,4 +355,6 @@ static struct i2c_driver sg2042_mcu_driver = {
 };
 module_i2c_driver(sg2042_mcu_driver);
 
+MODULE_AUTHOR("Inochi Amaoto <[email protected]>");
+MODULE_DESCRIPTION("MCU I2C driver for SG2042 soc platform");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.39.5
Reviewed-by
#2 lore raw
Quoted 5 lines · Inochi Amaoto
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A previous code reorganization inadvertently dropped the two tags, which leads to a "make W=1" warning:

:( Very sloppy, I am sorry!

Quoted 8 lines
Quoted 6 lines

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o

Add these back.

Fixes cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")

Just wondering: Inochi Amaoto's email above is using gmail, below is using outlook. Is the old one still valid?

#3 lore raw
Quoted 16 lines · Wolfram Sang
Quoted 5 lines · Inochi Amaoto
Quoted 4 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A previous code reorganization inadvertently dropped the two tags, which leads to a "make W=1" warning:

:( Very sloppy, I am sorry!

Quoted 7 lines
Quoted 6 lines

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o

Add these back.

Fixes cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")
Quoted 7 lines
Quoted 1 line

Just wondering: Inochi Amaoto's email above is using gmail, below is using outlook. Is the old one still valid?

Since the MS requires 2FA for email client, I uses gmail as an alternative to send patches and reply. I may use outlook to send in the furture if I find a way to login, or just update the maintainance information if no way.

Regards,
Inochi.

maintainer Applied
#4 lore raw
In reply to Arnd Bergmann
Quoted 5 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

A previous code reorganization inadvertently dropped the two tags, which leads to a "make W=1" warning:

Quoted 8 lines

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/hwmon/sg2042-mcu.o

Add these back.

Fixes cd4db38c4368 ("hwmon: (sg2042) Use per-client debugfs entry")

Applied.

Thanks,
Guenter