linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules
@ 2020-07-03  4:58 Rob Gill
  2020-07-03  7:50 ` Johan Hovold
  2020-07-03 20:14 ` Alan Stern
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Gill @ 2020-07-03  4:58 UTC (permalink / raw)
  To: linux-usb; +Cc: balbi, gregkh, johan, oneukum, stern, Rob Gill

The user tool modinfo is used to get information on kernel modules, including a
description where it is available.

This patch adds a brief MODULE_DESCRIPTION to the following modules in driver/usb.

isight_firmware
mxuport
u_ether
uas

Signed-off-by: Rob Gill <rrobgill@protonmail.com>

---
Changes in V4

Descriptions updated after review, thankyou.

Patch format corrected

 drivers/usb/gadget/function/u_ether.c | 1 +
 drivers/usb/misc/isight_firmware.c    | 1 +
 drivers/usb/serial/mxuport.c          | 1 +
 drivers/usb/storage/uas.c             | 1 +
 4 files changed, 4 insertions(+)

diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c
index fbe96ef1a..424a3a0a4 100644
--- a/drivers/usb/gadget/function/u_ether.c
+++ b/drivers/usb/gadget/function/u_ether.c
@@ -1180,3 +1180,4 @@ EXPORT_SYMBOL_GPL(gether_disconnect);
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("David Brownell");
+MODULE_DESCRIPTION("Ethernet-over-USB Gadget");
diff --git a/drivers/usb/misc/isight_firmware.c b/drivers/usb/misc/isight_firmware.c
index 4d30095d6..925a5682f 100644
--- a/drivers/usb/misc/isight_firmware.c
+++ b/drivers/usb/misc/isight_firmware.c
@@ -129,3 +129,4 @@ module_usb_driver(isight_firmware_driver);
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
+MODULE_DESCRIPTION("USB isight camera firmware loader");
diff --git a/drivers/usb/serial/mxuport.c b/drivers/usb/serial/mxuport.c
index 2513ee902..c1d70d528 100644
--- a/drivers/usb/serial/mxuport.c
+++ b/drivers/usb/serial/mxuport.c
@@ -1323,3 +1323,4 @@ module_usb_serial_driver(serial_drivers, mxuport_idtable);
 MODULE_AUTHOR("Andrew Lunn <andrew@lunn.ch>");
 MODULE_AUTHOR("<support@moxa.com>");
 MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("MOXA UPort series driver");
diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c
index d59207111..7f59748c4 100644
--- a/drivers/usb/storage/uas.c
+++ b/drivers/usb/storage/uas.c
@@ -1272,3 +1272,4 @@ MODULE_LICENSE("GPL");
 MODULE_IMPORT_NS(USB_STORAGE);
 MODULE_AUTHOR(
 	"Hans de Goede <hdegoede@redhat.com>, Matthew Wilcox and Sarah Sharp");
+MODULE_DESCRIPTION("USB attached SCSI");
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules
  2020-07-03  4:58 [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules Rob Gill
@ 2020-07-03  7:50 ` Johan Hovold
  2020-07-03 20:14 ` Alan Stern
  1 sibling, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2020-07-03  7:50 UTC (permalink / raw)
  To: Rob Gill; +Cc: linux-usb, balbi, gregkh, johan, oneukum, stern

On Fri, Jul 03, 2020 at 04:58:55AM +0000, Rob Gill wrote:
> The user tool modinfo is used to get information on kernel modules, including a
> description where it is available.
> 
> This patch adds a brief MODULE_DESCRIPTION to the following modules in driver/usb.
> 
> isight_firmware
> mxuport
> u_ether
> uas
> 
> Signed-off-by: Rob Gill <rrobgill@protonmail.com>
> 
> ---
> Changes in V4
> 
> Descriptions updated after review, thankyou.
> 
> Patch format corrected

But you never replied to my questions: Why do you want to do this at
all; and why this arbitrary and incomplete set of drivers?

As I mentioned there are thousands of modules with no description (about
a hundred in USB, IIRC).

Johan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules
  2020-07-03  4:58 [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules Rob Gill
  2020-07-03  7:50 ` Johan Hovold
@ 2020-07-03 20:14 ` Alan Stern
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Stern @ 2020-07-03 20:14 UTC (permalink / raw)
  To: Rob Gill; +Cc: linux-usb, balbi, gregkh, johan, oneukum

On Fri, Jul 03, 2020 at 04:58:55AM +0000, Rob Gill wrote:
> The user tool modinfo is used to get information on kernel modules, including a
> description where it is available.

Did you notice that this sentence has no relation to the purpose or 
contents of the patch?

Instead of talking about a user tool, the description should explain the 
reason for the patch and why it is important.

Alan Stern

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-03 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03  4:58 [PATCH v4] driver/usb MODULE_DESCRIPTION entries to usb modules Rob Gill
2020-07-03  7:50 ` Johan Hovold
2020-07-03 20:14 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).