From: Stephen M. Cameron Date: Thu, 3 Jul 2014 15:18:03 +0000 (-0500) Subject: hpsa: fix bad -ENOMEM return value in hpsa_big_passthru_ioctl X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0758f4f732b08b6ef07f2e5f735655cf69fea477;p=pandora-kernel.git 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 Reported-by: Robert Elliott Reviewed-by: Joe Handzik Reviewed-by: Scott Teel Reviewed by: Mike MIller Cc: Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed