diff options
author | Stephen M. Cameron <[email protected]> | 2014-07-03 10:18:03 -0500 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-25 17:17:00 -0400 |
commit | 0758f4f732b08b6ef07f2e5f735655cf69fea477 (patch) | |
tree | 1a0a8baee1e9fa9b41f853e4831d2cc2fcf0fa38 /net/lapb/lapb_subr.c | |
parent | d1fea47c36c13df5fc7e5a379ed5c4d2059de583 (diff) |
hpsa: fix bad -ENOMEM return value in hpsa_big_passthru_ioctl
When copy_from_user fails, return -EFAULT, not -ENOMEM
Signed-off-by: Stephen M. Cameron <[email protected]>
Reported-by: Robert Elliott <[email protected]>
Reviewed-by: Joe Handzik <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed by: Mike MIller <[email protected]>
Cc: <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions