scsi: qla2xxx: Fix the ql2xfc2target parameter description
Subsystems (2)
PATCH 1/1 scsi: qla2xxx: Fix the ql2xfc2target parameter description
The module parameter is ql2xfc2target, but its MODULE_PARM_DESC() names qla2xfc2target, so modinfo describes a parameter that does not exist and shows no description for the real one.
Use the parameter name in the description.
Fixes 877b03795fcf ("scsi: qla2xxx: Add option to disable FC2 Target support")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- drivers/scsi/qla2xxx/qla_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla2xxx/qla_os.c +1 -1
@@ -352,7 +352,7 @@ MODULE_PARM_DESC(ql2xnvme_queues,int ql2xfc2target =1 ;module_param (ql2xfc2target, int,0444 ); -MODULE_PARM_DESC (qla2xfc2target, +MODULE_PARM_DESC (ql2xfc2target,"Enables FC2 Target support. " "0 - FC2 Target support is disabled. " "1 - FC2 Target support is enabled (default)." );
base-commit: 986c24e0fe44f844b44d365b71ce831947f50298
Signature · 1 line
2.53.0
Quoted 8 lines · Karl Mehltretter
The module parameter is ql2xfc2target, but its
MODULE_PARM_DESC()names qla2xfc2target, so modinfo describes a parameter that does not exist and shows no description for the real one.Use the parameter name in the description.
[...]
Applied to 7.3/scsi-fixes, thanks!
[1/1] scsi: qla2xxx: Fix the ql2xfc2target parameter description
https://git.kernel.org/mkp/scsi/c/779f202a92ef
Signature · 1 line
Martin K. Petersen