mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Change the 0 integer to NULL to fix the following sparse warning:
/tmp/dotan/scst/trunk/scst/src/dev_handlers/scst_raid.c:147:31: warning: Using plain integer as NULL pointer Signed-off-by: Dotan Barak <dotanba@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -144,7 +144,7 @@ int raid_parse(struct scst_cmd *cmd)
|
||||
{
|
||||
int res = SCST_CMD_STATE_DEFAULT;
|
||||
|
||||
scst_raid_generic_parse(cmd, 0);
|
||||
scst_raid_generic_parse(cmd, NULL);
|
||||
|
||||
cmd->retries = SCST_PASSTHROUGH_RETRIES;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user