Skip to content

Commit fc2c1d7

Browse files
Jeff JohnsonTzung-Bi Shih
authored andcommitted
firmware: google: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/gsmi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/coreboot_table.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/framebuffer-coreboot.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/memconsole.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/memconsole-coreboot.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/memconsole-x86-legacy.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/cbmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/firmware/google/vpd-sysfs.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/20240605-md-drivers-firmware-google-v1-1-18878de97fa5@quicinc.com Signed-off-by: Tzung-Bi Shih <[email protected]>
1 parent 1613e60 commit fc2c1d7

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

drivers/firmware/google/cbmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ static struct coreboot_driver cbmem_entry_driver = {
131131
module_coreboot_driver(cbmem_entry_driver);
132132

133133
MODULE_AUTHOR("Jack Rosenthal <[email protected]>");
134+
MODULE_DESCRIPTION("Driver for exporting CBMEM entries in sysfs");
134135
MODULE_LICENSE("GPL");

drivers/firmware/google/coreboot_table.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,5 @@ module_init(coreboot_table_driver_init);
255255
module_exit(coreboot_table_driver_exit);
256256

257257
MODULE_AUTHOR("Google, Inc.");
258+
MODULE_DESCRIPTION("Module providing coreboot table access");
258259
MODULE_LICENSE("GPL");

drivers/firmware/google/framebuffer-coreboot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ static struct coreboot_driver framebuffer_driver = {
9797
module_coreboot_driver(framebuffer_driver);
9898

9999
MODULE_AUTHOR("Samuel Holland <[email protected]>");
100+
MODULE_DESCRIPTION("Memory based framebuffer accessed through coreboot table");
100101
MODULE_LICENSE("GPL");

drivers/firmware/google/gsmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,4 +1090,5 @@ module_init(gsmi_init);
10901090
module_exit(gsmi_exit);
10911091

10921092
MODULE_AUTHOR("Google, Inc.");
1093+
MODULE_DESCRIPTION("EFI SMI interface for Google platforms");
10931094
MODULE_LICENSE("GPL");

drivers/firmware/google/memconsole-coreboot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,5 @@ static struct coreboot_driver memconsole_driver = {
113113
module_coreboot_driver(memconsole_driver);
114114

115115
MODULE_AUTHOR("Google, Inc.");
116+
MODULE_DESCRIPTION("Memory based BIOS console accessed through coreboot table");
116117
MODULE_LICENSE("GPL");

drivers/firmware/google/memconsole-x86-legacy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,5 @@ module_init(memconsole_x86_init);
154154
module_exit(memconsole_x86_exit);
155155

156156
MODULE_AUTHOR("Google, Inc.");
157+
MODULE_DESCRIPTION("EBDA specific parts of the memory based BIOS console.");
157158
MODULE_LICENSE("GPL");

drivers/firmware/google/memconsole.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@ void memconsole_exit(void)
5050
EXPORT_SYMBOL(memconsole_exit);
5151

5252
MODULE_AUTHOR("Google, Inc.");
53+
MODULE_DESCRIPTION("Architecture-independent parts of the memory based BIOS console");
5354
MODULE_LICENSE("GPL");

drivers/firmware/google/vpd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,4 +323,5 @@ static struct coreboot_driver vpd_driver = {
323323
module_coreboot_driver(vpd_driver);
324324

325325
MODULE_AUTHOR("Google, Inc.");
326+
MODULE_DESCRIPTION("Driver for exporting Vital Product Data content to sysfs");
326327
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)