diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2009-10-30 04:02:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-31 15:11:38 -0400 |
commit | aefba418bfecd1985a08f50a95bd854a119f0153 (patch) | |
tree | ed334047dbb87ef9c21f29e42b678fa2d26fae65 /drivers/scsi/dpt_i2o.c | |
parent | 89a8640279f8bb78aaf778d1fc5c4a6778f18064 (diff) |
dpt_i2o: Fix typo of EINVAL
Commit ef7562b7f28319e6dd1f85dc1af87df2a7a84832 ("dpt_i2o: Fix up
copy*user") had a silly typo: EINVAL should be -EINVAL.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: stable@kernel.org
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
-rw-r--r-- | drivers/scsi/dpt_i2o.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 7d1aac31ec8d..496764349c41 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -1919,7 +1919,7 @@ static int adpt_i2o_passthru(adpt_hba* pHba, u32 __user *arg) | |||
1919 | size = size>>16; | 1919 | size = size>>16; |
1920 | size *= 4; | 1920 | size *= 4; |
1921 | if (size > MAX_MESSAGE_SIZE) { | 1921 | if (size > MAX_MESSAGE_SIZE) { |
1922 | rcode = EINVAL; | 1922 | rcode = -EINVAL; |
1923 | goto cleanup; | 1923 | goto cleanup; |
1924 | } | 1924 | } |
1925 | /* Copy in the user's I2O command */ | 1925 | /* Copy in the user's I2O command */ |