diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2014-07-03 15:18:03 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 21:17:00 (GMT) |
commit | 0758f4f732b08b6ef07f2e5f735655cf69fea477 (patch) | |
tree | 1a0a8baee1e9fa9b41f853e4831d2cc2fcf0fa38 /security/keys | |
parent | d1fea47c36c13df5fc7e5a379ed5c4d2059de583 (diff) | |
download | linux-0758f4f732b08b6ef07f2e5f735655cf69fea477.tar.xz |
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 <scameron@beardog.cce.hp.com>
Reported-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Joe Handzik <joseph.t.handzik@hp.com>
Reviewed-by: Scott Teel <scott.teel@hp.com>
Reviewed by: Mike MIller <michael.miller@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions