[PATCH] dpt_i2o: Fix typo of EINVAL

From: OGAWA Hirofumi
Date: Fri Oct 30 2009 - 04:02:46 EST


Hi,

Looks like ef7562b7f28319e6dd1f85dc1af87df2a7a84832 is including typo.
EINVAL should be -EINVAL?

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>


Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
Cc: stable@xxxxxxxxxx
Cc: Alan Cox <alan@xxxxxxxxxxxxxxx>
---

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 */
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/