diff options
author | Dan Carpenter <[email protected]> | 2023-10-20 16:52:45 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-10-20 10:04:25 -0400 |
commit | 5264a2f4bb3baf712e19f1f053caaa8d7d3afa2e (patch) | |
tree | 02c54f140d0b7624d7ac6f60b6002acf3a811779 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7e8ad67c9b5c11e990c320ed7e7563f2301672a7 (diff) |
tracing: Fix a NULL vs IS_ERR() bug in event_subsystem_dir()
The eventfs_create_dir() function returns error pointers, it never returns
NULL. Update the check to reflect that.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Fixes: 5790b1fb3d67 ("eventfs: Remove eventfs_file and just use eventfs_inode")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions