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:
Vladislav Bolkhovitin
2008-07-10 11:06:20 +00:00
parent eca92ea26b
commit b11bba3c84

View File

@@ -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;