https://github.com/torvalds/linux
Revision 5e631a03af7eaa55b9ef7fa7611144c2c698c6c6 authored by Dan Carpenter on 10 July 2013, 10:58:59 UTC, committed by Roland Dreier on 11 July 2013, 23:48:45 UTC
For copy_to/from_user() failure, the correct error code is -EFAULT not
-EPERM.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
1 parent 288dde9
History
Tip revision: 5e631a03af7eaa55b9ef7fa7611144c2c698c6c6 authored by Dan Carpenter on 10 July 2013, 10:58:59 UTC
mlx5: Return -EFAULT instead of -EPERM
Tip revision: 5e631a0
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 249.8 KB
Makefile -rw-r--r-- 47.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top