projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f9f86
)
scsi: qedf: Change the debug parameter permission to read & write
author
Javed Hasan
<jhasan@marvell.com>
Mon, 7 Sep 2020 12:14:36 +0000
(
05:14
-0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Wed, 9 Sep 2020 03:14:15 +0000
(23:14 -0400)
Change the debug parameter permission to read & write. Gives flexibility
to change the debug verbosity dynamically.
Link:
https://lore.kernel.org/r/20200907121443.5150-2-jhasan@marvell.com
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qedf/qedf_main.c
b/drivers/scsi/qedf/qedf_main.c
index 39c4bdc899376131def81a1b246ecba5d6386b23..7d8fb8f2f29b455cad50e7037104cd6d096848f6 100644
(file)
--- a/
drivers/scsi/qedf/qedf_main.c
+++ b/
drivers/scsi/qedf/qedf_main.c
@@
-41,7
+41,7
@@
MODULE_PARM_DESC(dev_loss_tmo, " dev_loss_tmo setting for attached "
"remote ports (default 60)");
uint qedf_debug = QEDF_LOG_INFO;
-module_param_named(debug, qedf_debug, uint, S_IRUGO);
+module_param_named(debug, qedf_debug, uint, S_IRUGO
|S_IWUSR
);
MODULE_PARM_DESC(debug, " Debug mask. Pass '1' to enable default debugging"
" mask");