diff mbox series

[1/8] qedf: Changed the debug parameter permission to read & write

Message ID 20200907121443.5150-2-jhasan@marvell.com
State New
Headers show
Series qedf: Misc fixes for the driver. | expand

Commit Message

Javed Hasan Sept. 7, 2020, 12:14 p.m. UTC
Changed the debug parameter permission to read & write.
 Gives flexibility to change the debug verbosity dynamically.

Signed-off-by: Javed Hasan <jhasan@marvell.com>
---
 drivers/scsi/qedf/qedf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index 86b9479..5770692 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -40,7 +40,7 @@ 
 	"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");