summaryrefslogtreecommitdiffstats
path: root/scripts/export_report.pl
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-04-16 21:44:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:03:58 +0200
commit91c9afaf97ee554d2cd3042a5ad01ad21c99e8c4 (patch)
treed521bb93c9d1593cca054cc3a3f9038bc59d6044 /scripts/export_report.pl
parentcheckpatch: add a test for const with __read_mostly uses (diff)
downloadlinux-91c9afaf97ee554d2cd3042a5ad01ad21c99e8c4.tar.xz
linux-91c9afaf97ee554d2cd3042a5ad01ad21c99e8c4.zip
checkpatch.pl: new instances of ENOSYS are errors
ENOSYS means that a nonexistent system call was called. We have a bad habit of using it for things like invalid operations on otherwise valid syscalls. We should avoid this in new code. Pervasive incorrect usage of ENOSYS came up at the kernel summit ABI review discussion. Let's see if checkpatch can help. I'll submit a separate patch for include/uapi/asm-generic/errno.h. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Pavel Machek <pavel@ucw.cz> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/export_report.pl')
0 files changed, 0 insertions, 0 deletions