]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/user_events: Use NULL for strstr checks
authorBeau Belgrave <beaub@linux.microsoft.com>
Thu, 28 Jul 2022 23:33:04 +0000 (16:33 -0700)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 29 Sep 2022 14:17:36 +0000 (10:17 -0400)
commit3f45286a06757b3c17862ff21e5913ff49665653
tree2a4987fc468fcf3df3acde6ba46be2f2c389b8bf
parent2201ece482139ae458667d8e2dad81653771ed4f
tracing/user_events: Use NULL for strstr checks

Trivial fix to ensure strstr checks use NULL instead of 0.

Link: https://lkml.kernel.org/r/20220728233309.1896-2-beaub@linux.microsoft.com
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_events_user.c