diff options
| author | Andy Lutomirski <[email protected]> | 2015-04-16 12:44:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 09:03:58 -0400 |
| commit | 91c9afaf97ee554d2cd3042a5ad01ad21c99e8c4 (patch) | |
| tree | d521bb93c9d1593cca054cc3a3f9038bc59d6044 /tools/perf/scripts/python | |
| parent | c17893c7407fbe988f5901596c3e5e75c0dc0f67 (diff) | |
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 <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions