projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e746f
)
dpt_i2o: Fix typo of EINVAL
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Fri, 30 Oct 2009 08:02:31 +0000
(17:02 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 10 Nov 2009 00:51:57 +0000
(16:51 -0800)
commit
aefba418bfecd1985a08f50a95bd854a119f0153
upstream.
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: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/dpt_i2o.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/dpt_i2o.c
b/drivers/scsi/dpt_i2o.c
index 2821285f68ece45c524bd3a04779956d1d33c681..b38fe67c7c7f0a59d70a4a57f2f165922386a505 100644
(file)
--- 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)
size = size>>16;
size *= 4;
if (size > MAX_MESSAGE_SIZE) {
- rcode = EINVAL;
+ rcode =
-
EINVAL;
goto cleanup;
}
/* Copy in the user's I2O command */