Change the 0 integer to NULL to fix the following sparse warning

(in locations that i miss in the previous patch):

/tmp/dotan/scst/trunk/scst/src/dev_handlers/scst_changer.c:147:34:
warning: Using plain integer as NULL pointer
/tmp/dotan/scst/trunk/scst/src/dev_handlers/scst_processor.c:147:36:
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@456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-07-10 11:08:07 +00:00
parent b11bba3c84
commit 3c5b177cd3
2 changed files with 2 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ int changer_parse(struct scst_cmd *cmd)
{
int res = SCST_CMD_STATE_DEFAULT;
scst_changer_generic_parse(cmd, 0);
scst_changer_generic_parse(cmd, NULL);
cmd->retries = SCST_PASSTHROUGH_RETRIES;

View File

@@ -144,7 +144,7 @@ int processor_parse(struct scst_cmd *cmd)
{
int res = SCST_CMD_STATE_DEFAULT;
scst_processor_generic_parse(cmd, 0);
scst_processor_generic_parse(cmd, NULL);
cmd->retries = SCST_PASSTHROUGH_RETRIES;