[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210821142647.2904-1-jj251510319013@gmail.com>
Date: Sat, 21 Aug 2021 22:26:47 +0800
From: Wei Ming Chen <jj251510319013@...il.com>
To: linux-kernel@...r.kernel.org
Cc: linux-usb@...r.kernel.org, balbi@...nel.org,
gregkh@...uxfoundation.org,
Wei Ming Chen <jj251510319013@...il.com>
Subject: [PATCH] usb: gadget: Add description for module parameter
The description for "qlen" is missing, and there is a description
for this parameter in "Documentation/usb/gadget_printer.rst"
Signed-off-by: Wei Ming Chen <jj251510319013@...il.com>
---
drivers/usb/gadget/legacy/printer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c
index 2cd389575084..ed762ba9b629 100644
--- a/drivers/usb/gadget/legacy/printer.c
+++ b/drivers/usb/gadget/legacy/printer.c
@@ -50,6 +50,7 @@ MODULE_PARM_DESC(iPNPstring, "MFG:linux;MDL:g_printer;CLS:PRINTER;SN:1;");
/* Number of requests to allocate per endpoint, not used for ep0. */
static unsigned qlen = 10;
module_param(qlen, uint, S_IRUGO|S_IWUSR);
+MODULE_PARM_DESC(qlen, "The number of 8k buffers to use per endpoint");
#define QLEN qlen
--
2.25.1
Powered by blists - more mailing lists