Skip to content

Commit 95f8bf9

Browse files
Jeff Johnsonmartinkpetersen
authored andcommitted
scsi: Add missing MODULE_DESCRIPTION() macros
On x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/scsi_common.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/advansys.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/BusLogic.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/aha1740.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/isci/isci.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/elx/efct.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/atp870u.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/ppa.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/scsi/imm.o Add all missing invocations of the MODULE_DESCRIPTION() macro. This updates all files which have a MODULE_LICENSE() but which do not have a MODULE_DESCRIPTION(), even ones which did not produce the x86 allmodconfig warnings. Acked-by: Finn Thain <[email protected]> Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent f51b2db commit 95f8bf9

File tree

15 files changed

+17
-0
lines changed

15 files changed

+17
-0
lines changed

drivers/scsi/BusLogic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ static struct blogic_drvr_options blogic_drvr_options[BLOGIC_MAX_ADAPTERS];
7878
BusLogic can be assigned a string by insmod.
7979
*/
8080

81+
MODULE_DESCRIPTION("BusLogic MultiMaster and FlashPoint SCSI Host Adapter driver");
8182
MODULE_LICENSE("GPL");
8283
#ifdef MODULE
8384
static char *BusLogic;

drivers/scsi/advansys.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11545,6 +11545,7 @@ static void __exit advansys_exit(void)
1154511545
module_init(advansys_init);
1154611546
module_exit(advansys_exit);
1154711547

11548+
MODULE_DESCRIPTION("AdvanSys SCSI Adapter driver");
1154811549
MODULE_LICENSE("GPL");
1154911550
MODULE_FIRMWARE("advansys/mcode.bin");
1155011551
MODULE_FIRMWARE("advansys/3550.bin");

drivers/scsi/aha1542.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,8 @@ static int aha1542_biosparam(struct scsi_device *sdev,
10091009

10101010
return 0;
10111011
}
1012+
1013+
MODULE_DESCRIPTION("Adaptec AHA-1542 SCSI host adapter driver");
10121014
MODULE_LICENSE("GPL");
10131015

10141016
static int aha1542_init_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)

drivers/scsi/aha1740.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,4 +681,5 @@ static __exit void aha1740_exit (void)
681681
module_init (aha1740_init);
682682
module_exit (aha1740_exit);
683683

684+
MODULE_DESCRIPTION("Adaptec AHA1740 SCSI host adapter driver");
684685
MODULE_LICENSE("GPL");

drivers/scsi/atari_scsi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,4 +894,5 @@ static struct platform_driver atari_scsi_driver __refdata = {
894894
module_platform_driver_probe(atari_scsi_driver, atari_scsi_probe);
895895

896896
MODULE_ALIAS("platform:" DRV_MODULE_NAME);
897+
MODULE_DESCRIPTION("Atari TT/Falcon NCR5380 SCSI driver");
897898
MODULE_LICENSE("GPL");

drivers/scsi/atp870u.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,6 +1724,8 @@ static void atp870u_remove (struct pci_dev *pdev)
17241724
atp870u_free_tables(pshost);
17251725
scsi_host_put(pshost);
17261726
}
1727+
1728+
MODULE_DESCRIPTION("ACARD SCSI host adapter driver");
17271729
MODULE_LICENSE("GPL");
17281730

17291731
static const struct scsi_host_template atp870u_template = {

drivers/scsi/elx/efct/efct_driver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,5 +778,6 @@ static void __exit efct_exit(void)
778778
module_init(efct_init);
779779
module_exit(efct_exit);
780780
MODULE_VERSION(EFCT_DRIVER_VERSION);
781+
MODULE_DESCRIPTION("Emulex Fibre Channel Target driver");
781782
MODULE_LICENSE("GPL");
782783
MODULE_AUTHOR("Broadcom");

drivers/scsi/g_NCR5380.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ module_param_array(card, int, NULL, 0);
110110
MODULE_PARM_DESC(card, "card type (0=NCR5380, 1=NCR53C400, 2=NCR53C400A, 3=DTC3181E, 4=HP C2502)");
111111

112112
MODULE_ALIAS("g_NCR5380_mmio");
113+
MODULE_DESCRIPTION("Generic NCR5380/NCR53C400 SCSI driver");
113114
MODULE_LICENSE("GPL");
114115

115116
static void g_NCR5380_trigger_irq(struct Scsi_Host *instance)

drivers/scsi/imm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,4 +1279,5 @@ static struct parport_driver imm_driver = {
12791279
};
12801280
module_parport_driver(imm_driver);
12811281

1282+
MODULE_DESCRIPTION("IOMEGA MatchMaker parallel port SCSI host adapter driver");
12821283
MODULE_LICENSE("GPL");

drivers/scsi/isci/init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ static __exit void isci_exit(void)
758758
sas_release_transport(isci_transport_template);
759759
}
760760

761+
MODULE_DESCRIPTION("Intel(R) C600 Series Chipset SAS Controller driver");
761762
MODULE_LICENSE("Dual BSD/GPL");
762763
MODULE_FIRMWARE(ISCI_FW_NAME);
763764
module_init(isci_init);

0 commit comments

Comments
 (0)