diff options
| author | Jani Nikula <[email protected]> | 2010-05-24 14:33:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-05-25 08:07:02 -0700 |
| commit | e47103b1af5df52fa69e18b14d3012472f78817d (patch) | |
| tree | 6652e56e361415a85ab5a7b888492e5ceef0cd94 /tools/perf/scripts/python/bin/syscall-counts-record | |
| parent | 1f85f87d4f81d1e5a2d502d48316a1bdc5acac0b (diff) | |
err.h: add __must_check to error pointer handlers
Add __must_check to error pointer handlers to have the compiler warn about
mistakes like:
if (err)
ERR_PTR(err);
It found two bugs:
Mar 12 Nikula Jani [PATCH] enclosure: fix error path - actually return ERR_PTR() on error
Mar 12 Nikula Jani [PATCH] sunrpc: fix error path - actually return ERR_PTR() on error
Signed-off-by: Jani Nikula <[email protected]>
Cc: Phil Carmody <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-record')
0 files changed, 0 insertions, 0 deletions