dpt_i2o: Fix typo of EINVAL
PATCH 1/1 dpt_i2o: Fix typo of EINVAL
Hi,
Looks like ef7562b7f28319e6dd1f85dc1af87df2a7a84832 is including typo. EINVAL should be -EINVAL?
Thanks.
Signature · 24 lines
OGAWA Hirofumi <[email protected]> Signed-off-by: OGAWA Hirofumi <[email protected]> Cc: [email protected] Cc: Alan Cox <[email protected]> --- drivers/scsi/dpt_i2o.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/scsi/dpt_i2o.c~dpt_i2o-typo-fix drivers/scsi/dpt_i2o.c --- linux-2.6/drivers/scsi/dpt_i2o.c~dpt_i2o-typo-fix 2009-10-30 16:48:56.000000000 +0900 +++ linux-2.6-hirofumi/drivers/scsi/dpt_i2o.c 2009-10-30 16:48:59.000000000 +0900 @@ -1919,7 +1919,7 @@ static int adpt_i2o_passthru(adpt_hba* p size = size>>16; size *= 4; if (size > MAX_MESSAGE_SIZE) { - rcode = EINVAL; + rcode = -EINVAL; goto cleanup; } /* Copy in the user's I2O command */ _