From: Dan Carpenter Date: Wed, 10 Jul 2013 10:58:59 +0000 (+0300) Subject: mlx5: Return -EFAULT instead of -EPERM X-Git-Tag: v3.11-rc1~16^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e631a03af7eaa55b9ef7fa7611144c2c698c6c6;p=pandora-kernel.git mlx5: Return -EFAULT instead of -EPERM For copy_to/from_user() failure, the correct error code is -EFAULT not -EPERM. Signed-off-by: Dan Carpenter Acked-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed