diff options
| author | Dan Carpenter <[email protected]> | 2016-04-23 13:23:47 +0300 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2016-04-26 09:40:20 -0400 |
| commit | 4812952f9c94f67b3cc78ad0a6482bf182aa5a44 (patch) | |
| tree | 8bfdaabe504c543b37ee9d99ac0b5e61082a571b /kernel/locking/rtmutex-debug.c | |
| parent | 205506228b69be4efbb3809957a69420f26a8d9f (diff) | |
tracing: checking for NULL instead of IS_ERR()
tracing_map_elt_alloc() returns ERR_PTRs on error, never NULL.
Fixes: 08d43a5fa063 ('tracing: Add lock-free tracing_map')
Link: http://lkml.kernel.org/r/20160423102347.GA11136@mwanda
Acked-by: Tom Zanussi <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions