iser-target: Fix sparse warning
isert_debug_level should be static, hence no need to initialize it. Reported-by: Shachar Raindel <raindel@mellanox.com> Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
67f091f290
commit
45678b6b78
|
@ -38,7 +38,7 @@
|
||||||
#define ISER_MAX_CQ_LEN (ISER_MAX_RX_CQ_LEN + ISER_MAX_TX_CQ_LEN + \
|
#define ISER_MAX_CQ_LEN (ISER_MAX_RX_CQ_LEN + ISER_MAX_TX_CQ_LEN + \
|
||||||
ISERT_MAX_CONN)
|
ISERT_MAX_CONN)
|
||||||
|
|
||||||
int isert_debug_level = 0;
|
static int isert_debug_level;
|
||||||
module_param_named(debug_level, isert_debug_level, int, 0644);
|
module_param_named(debug_level, isert_debug_level, int, 0644);
|
||||||
MODULE_PARM_DESC(debug_level, "Enable debug tracing if > 0 (default:0)");
|
MODULE_PARM_DESC(debug_level, "Enable debug tracing if > 0 (default:0)");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue