* [PATCH] dpt_i2o: Fix typo of EINVAL
@ 2009-10-30 8:02 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2009-10-30 8:02 UTC (permalink / raw)
To: Linus Torvalds, Alan Cox; +Cc: linux-kernel
Hi,
Looks like ef7562b7f28319e6dd1f85dc1af87df2a7a84832 is including typo.
EINVAL should be -EINVAL?
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: stable@kernel.org
Cc: Alan Cox <alan@linux.intel.com>
---
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 */
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-30 8:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 8:02 [PATCH] dpt_i2o: Fix typo of EINVAL OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox