]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e27288ca298d2ed6b11c91c0d8bfe502f3a1f94
tree2ff4c55663b08922ccc6d2faca5e5695d45a5e6f
parent2144ce87bfe777f371607ad360d5cdd9cb87018e
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