mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
dpt_i2o: Fix typo of EINVAL
Commit ef7562b7f2
("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>
This commit is contained in:
parent
89a8640279
commit
aefba418bf
1 changed files with 1 additions and 1 deletions
|
@ -1919,7 +1919,7 @@ static int adpt_i2o_passthru(adpt_hba* pHba, u32 __user *arg)
|
||||||
size = size>>16;
|
size = size>>16;
|
||||||
size *= 4;
|
size *= 4;
|
||||||
if (size > MAX_MESSAGE_SIZE) {
|
if (size > MAX_MESSAGE_SIZE) {
|
||||||
rcode = EINVAL;
|
rcode = -EINVAL;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
/* Copy in the user's I2O command */
|
/* Copy in the user's I2O command */
|
||||||
|
|
Loading…
Reference in a new issue