]> 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)
commitabb02f0fa2c87d05daf8957cce8be719272220ba
tree2a4987fc468fcf3df3acde6ba46be2f2c389b8bf
parent931b53ec60444f16a18746fc161c17913dc9255d
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