From: Finn Thain <fthain@linux-m68k.org>
To: Jeff Johnson <quic_jjohnson@quicinc.com>
Cc: Khalid Aziz <khalid@gonehiking.org>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Matthew Wilcox <willy@infradead.org>,
Hannes Reinecke <hare@suse.com>,
Michael Schmitz <schmitzmic@gmail.com>,
James Smart <james.smart@broadcom.com>,
Ram Vegesna <ram.vegesna@broadcom.com>,
Artur Paszkiewicz <artur.paszkiewicz@intel.com>,
"Juergen E. Fischer" <fischer@norbit.de>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
target-devel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] scsi: add missing MODULE_DESCRIPTION() macros
Date: Sat, 8 Jun 2024 10:52:45 +1000 (AEST) [thread overview]
Message-ID: <82cdd602-8faf-5cc0-c0b4-87ff1d820474@linux-m68k.org> (raw)
In-Reply-To: <20240607-md-drivers-scsi-v1-1-17ae31cc4fe5@quicinc.com>
On Fri, 7 Jun 2024, Jeff Johnson wrote:
> diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c
> index 742625ac7d99..4eb5770aeef5 100644
> --- a/drivers/scsi/atari_scsi.c
> +++ b/drivers/scsi/atari_scsi.c
> @@ -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 generic SCSI port driver");
> MODULE_LICENSE("GPL");
"Atari NCR5380 SCSI driver", please. I don't think the word "generic"
applies here. It was a reference to the "generic NCR5380 driver by Drew
Eckhardt" from which specialized drivers like this one were derived.
> diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c
> index f6305e3e60f4..1bef131664e0 100644
> --- a/drivers/scsi/g_NCR5380.c
> +++ b/drivers/scsi/g_NCR5380.c
> @@ -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 driver");
> MODULE_LICENSE("GPL");
>
> static void g_NCR5380_trigger_irq(struct Scsi_Host *instance)
"Generic NCR5380/NCR53C400 SCSI driver" please.
This driver actually describes itself as "generic generic NCR5380 driver"
which appears to be a joke. The term "generic" was used to mean universal
i.e. intended to cover every ISA card implementation.
> diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
> index 625fd547ee60..82d8b8f8293f 100644
> --- a/drivers/scsi/initio.c
> +++ b/drivers/scsi/initio.c
> @@ -2939,6 +2939,7 @@ static void initio_remove_one(struct pci_dev *pdev)
> pci_disable_device(pdev);
> }
>
> +MODULE_DESCRIPTION("Initio 9100U(W) driver");
> MODULE_LICENSE("GPL");
>
> static struct pci_device_id initio_pci_tbl[] = {
> @@ -2961,4 +2962,5 @@ module_pci_driver(initio_pci_driver);
>
> MODULE_DESCRIPTION("Initio INI-9X00U/UW SCSI device driver");
> MODULE_AUTHOR("Initio Corporation");
> +MODULE_DESCRIPTION("TBD");
> MODULE_LICENSE("GPL");
There are now three MODULE_DESCRIPTION macros here.
> diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c
> index a402c4dc4645..f74231ca29e5 100644
> --- a/drivers/scsi/mac_scsi.c
> +++ b/drivers/scsi/mac_scsi.c
> @@ -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("Generic Macintosh NCR5380 driver");
> MODULE_LICENSE("GPL");
"Macintosh NCR5380 SCSI driver", please.
> diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
> index 7ab000942b97..c4a88f673183 100644
> --- a/drivers/scsi/sr.c
> +++ b/drivers/scsi/sr.c
> @@ -68,6 +68,7 @@
>
>
> MODULE_DESCRIPTION("SCSI cdrom (sr) driver");
> +MODULE_DESCRIPTION("TBD");
> MODULE_LICENSE("GPL");
> MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR);
> MODULE_ALIAS_SCSI_DEVICE(TYPE_ROM);
> @@ -1007,4 +1008,5 @@ static void __exit exit_sr(void)
>
> module_init(init_sr);
> module_exit(exit_sr);
> +MODULE_DESCRIPTION("SCSI CDROM driver");
> MODULE_LICENSE("GPL");
Three macros here also.
next prev parent reply other threads:[~2024-06-08 0:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-07 19:43 Jeff Johnson
2024-06-08 0:52 ` Finn Thain [this message]
2024-06-08 1:11 ` Michael Schmitz
2024-06-08 14:41 ` Jeff Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82cdd602-8faf-5cc0-c0b4-87ff1d820474@linux-m68k.org \
--to=fthain@linux-m68k.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=artur.paszkiewicz@intel.com \
--cc=fischer@norbit.de \
--cc=hare@suse.com \
--cc=james.smart@broadcom.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=khalid@gonehiking.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=quic_jjohnson@quicinc.com \
--cc=ram.vegesna@broadcom.com \
--cc=schmitzmic@gmail.com \
--cc=target-devel@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®