Commit b3ede8ea authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: qla2xxx: Declare local symbols static

This patch avoids that sparse complains that a declaration is missing.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Acked-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b0a1c5b5
...@@ -285,14 +285,14 @@ MODULE_PARM_DESC(qla2xuseresexchforels, ...@@ -285,14 +285,14 @@ MODULE_PARM_DESC(qla2xuseresexchforels,
"Reserve 1/2 of emergency exchanges for ELS.\n" "Reserve 1/2 of emergency exchanges for ELS.\n"
" 0 (default): disabled"); " 0 (default): disabled");
int ql2xprotmask; static int ql2xprotmask;
module_param(ql2xprotmask, int, 0644); module_param(ql2xprotmask, int, 0644);
MODULE_PARM_DESC(ql2xprotmask, MODULE_PARM_DESC(ql2xprotmask,
"Override DIF/DIX protection capabilities mask\n" "Override DIF/DIX protection capabilities mask\n"
"Default is 0 which sets protection mask based on " "Default is 0 which sets protection mask based on "
"capabilities reported by HBA firmware.\n"); "capabilities reported by HBA firmware.\n");
int ql2xprotguard; static int ql2xprotguard;
module_param(ql2xprotguard, int, 0644); module_param(ql2xprotguard, int, 0644);
MODULE_PARM_DESC(ql2xprotguard, "Override choice of DIX checksum\n" MODULE_PARM_DESC(ql2xprotguard, "Override choice of DIX checksum\n"
" 0 -- Let HBA firmware decide\n" " 0 -- Let HBA firmware decide\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment