mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
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 <fthain@linux-m68k.org> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://lore.kernel.org/r/20240610-md-drivers-scsi-v3-1-055da78d66b2@quicinc.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
f51b2db9b9
commit
95f8bf932b
@ -78,6 +78,7 @@ static struct blogic_drvr_options blogic_drvr_options[BLOGIC_MAX_ADAPTERS];
|
||||
BusLogic can be assigned a string by insmod.
|
||||
*/
|
||||
|
||||
MODULE_DESCRIPTION("BusLogic MultiMaster and FlashPoint SCSI Host Adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
#ifdef MODULE
|
||||
static char *BusLogic;
|
||||
|
@ -11545,6 +11545,7 @@ static void __exit advansys_exit(void)
|
||||
module_init(advansys_init);
|
||||
module_exit(advansys_exit);
|
||||
|
||||
MODULE_DESCRIPTION("AdvanSys SCSI Adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_FIRMWARE("advansys/mcode.bin");
|
||||
MODULE_FIRMWARE("advansys/3550.bin");
|
||||
|
@ -1009,6 +1009,8 @@ static int aha1542_biosparam(struct scsi_device *sdev,
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("Adaptec AHA-1542 SCSI host adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static int aha1542_init_cmd_priv(struct Scsi_Host *shost, struct scsi_cmnd *cmd)
|
||||
|
@ -681,4 +681,5 @@ static __exit void aha1740_exit (void)
|
||||
module_init (aha1740_init);
|
||||
module_exit (aha1740_exit);
|
||||
|
||||
MODULE_DESCRIPTION("Adaptec AHA1740 SCSI host adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -894,4 +894,5 @@ static struct platform_driver atari_scsi_driver __refdata = {
|
||||
module_platform_driver_probe(atari_scsi_driver, atari_scsi_probe);
|
||||
|
||||
MODULE_ALIAS("platform:" DRV_MODULE_NAME);
|
||||
MODULE_DESCRIPTION("Atari TT/Falcon NCR5380 SCSI driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -1724,6 +1724,8 @@ static void atp870u_remove (struct pci_dev *pdev)
|
||||
atp870u_free_tables(pshost);
|
||||
scsi_host_put(pshost);
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("ACARD SCSI host adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static const struct scsi_host_template atp870u_template = {
|
||||
|
@ -778,5 +778,6 @@ static void __exit efct_exit(void)
|
||||
module_init(efct_init);
|
||||
module_exit(efct_exit);
|
||||
MODULE_VERSION(EFCT_DRIVER_VERSION);
|
||||
MODULE_DESCRIPTION("Emulex Fibre Channel Target driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Broadcom");
|
||||
|
@ -110,6 +110,7 @@ module_param_array(card, int, NULL, 0);
|
||||
MODULE_PARM_DESC(card, "card type (0=NCR5380, 1=NCR53C400, 2=NCR53C400A, 3=DTC3181E, 4=HP C2502)");
|
||||
|
||||
MODULE_ALIAS("g_NCR5380_mmio");
|
||||
MODULE_DESCRIPTION("Generic NCR5380/NCR53C400 SCSI driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static void g_NCR5380_trigger_irq(struct Scsi_Host *instance)
|
||||
|
@ -1279,4 +1279,5 @@ static struct parport_driver imm_driver = {
|
||||
};
|
||||
module_parport_driver(imm_driver);
|
||||
|
||||
MODULE_DESCRIPTION("IOMEGA MatchMaker parallel port SCSI host adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -758,6 +758,7 @@ static __exit void isci_exit(void)
|
||||
sas_release_transport(isci_transport_template);
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("Intel(R) C600 Series Chipset SAS Controller driver");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
MODULE_FIRMWARE(ISCI_FW_NAME);
|
||||
module_init(isci_init);
|
||||
|
@ -550,4 +550,5 @@ static struct platform_driver mac_scsi_driver __refdata = {
|
||||
module_platform_driver_probe(mac_scsi_driver, mac_scsi_probe);
|
||||
|
||||
MODULE_ALIAS("platform:" DRV_MODULE_NAME);
|
||||
MODULE_DESCRIPTION("Macintosh NCR5380 SCSI driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -75,6 +75,7 @@ module_param(synchronous, int, 0);
|
||||
module_param(reset_delay, int, 0);
|
||||
module_param(ext_trans, int, 0);
|
||||
|
||||
MODULE_DESCRIPTION("Adaptec AHA152X-compatible PCMCIA SCSI card driver");
|
||||
MODULE_LICENSE("Dual MPL/GPL");
|
||||
|
||||
/*====================================================================*/
|
||||
|
@ -1155,4 +1155,5 @@ static struct parport_driver ppa_driver = {
|
||||
};
|
||||
module_parport_driver(ppa_driver);
|
||||
|
||||
MODULE_DESCRIPTION("IOMEGA PPA3 parallel port SCSI host adapter driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/unaligned.h>
|
||||
#include <scsi/scsi_common.h>
|
||||
|
||||
MODULE_DESCRIPTION("SCSI functions used by both the initiator and the target code");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
/* Command group 3 is reserved and should never be used. */
|
||||
|
@ -666,4 +666,5 @@ static struct platform_driver sun3_scsi_driver = {
|
||||
module_platform_driver_probe(sun3_scsi_driver, sun3_scsi_probe);
|
||||
|
||||
MODULE_ALIAS("platform:" DRV_MODULE_NAME);
|
||||
MODULE_DESCRIPTION("Sun3 NCR5380 SCSI controller driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user