Skip to contentSkip to conversation

gpib: lpvo_usb: fix path of the "debug" module parameter in comment

PATCH In review Zenghui Yu 2 participants 2 messages Jun 21 GPIB drivers

lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 gpib: lpvo_usb: fix path of the "debug" module parameter in comment

The correct path of the "debug" module parameter should be /sys/module/lpvo_usb_gpib/parameters/debug. Fix it.

---
 drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c +1 -1
index e6ea9422d6f2..13a067010db7 100644
@@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(usb, lpvo_table);
  *	(about twice the log volume of [1])
  * To switch debug level:
  *         At module loading:  modprobe lpvo_usb_gpib debug={0,1,2}
- *         On the fly: echo {0,1,2} > /sys/modules/lpvo_usb_gpib/parameters/debug
+ *         On the fly: echo {0,1,2} > /sys/module/lpvo_usb_gpib/parameters/debug
  */
 
 static int debug;
Signature · 1 line
2.53.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Zenghui Yu

The correct path of the "debug" module parameter should be /sys/module/lpvo_usb_gpib/parameters/debug. Fix it.

Thanks.

Quoted 17 lines
---
 drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c +1 -1
index e6ea9422d6f2..13a067010db7 100644
@@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(usb, lpvo_table);
  *	(about twice the log volume of [1])
  * To switch debug level:
  *         At module loading:  modprobe lpvo_usb_gpib debug={0,1,2}
- *         On the fly: echo {0,1,2} > /sys/modules/lpvo_usb_gpib/parameters/debug
+ *         On the fly: echo {0,1,2} > /sys/module/lpvo_usb_gpib/parameters/debug
  */
 
 static int debug;
Signature · 1 line
~Randy