ftrace: Fix warning using plain integer as NULL & spelling corrections
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sat, 23 Mar 2019 18:35:23 +0000 (00:05 +0530)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Mar 2019 12:35:36 +0000 (08:35 -0400)
commit9efb85c5cfac7e1f0caae4471446d936ff2163fe
tree2ff4c55663b08922ccc6d2faca5e5695d45a5e6f
parent3dee10da2e9ff220e054a8f158cc296c797fbe81
ftrace: Fix warning using plain integer as NULL & spelling corrections

Changed  0 --> NULL to avoid sparse warning
Corrected spelling mistakes reported by checkpatch.pl
Sparse warning below:

sudo make C=2 CF=-D__CHECK_ENDIAN__ M=kernel/trace

CHECK   kernel/trace/ftrace.c
kernel/trace/ftrace.c:3007:24: warning: Using plain integer as NULL pointer
kernel/trace/ftrace.c:4758:37: warning: Using plain integer as NULL pointer

Link: http://lkml.kernel.org/r/20190323183523.GA2244@hari-Inspiron-1545
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c