scsi: qedi: make qedi_ll2_buf_size static
Fix the following sparse warning: drivers/scsi/qedi/qedi_main.c:44:6: warning: symbol 'qedi_ll2_buf_size' was not declared. Should it be static? Link: https://lore.kernel.org/r/20200415085029.7170-1-yanaijie@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
089f5b64b8
commit
44578ecef7
|
@ -45,7 +45,7 @@ module_param(qedi_io_tracing, uint, 0644);
|
|||
MODULE_PARM_DESC(qedi_io_tracing,
|
||||
" Enable logging of SCSI requests/completions into trace buffer. (default off).");
|
||||
|
||||
uint qedi_ll2_buf_size = 0x400;
|
||||
static uint qedi_ll2_buf_size = 0x400;
|
||||
module_param(qedi_ll2_buf_size, uint, 0644);
|
||||
MODULE_PARM_DESC(qedi_ll2_buf_size,
|
||||
"parameter to set ping packet size, default - 0x400, Jumbo packets - 0x2400.");
|
||||
|
|
Loading…
Reference in New Issue