trace/osnoise: Fix 'no previous prototype' warnings
kernel test robot reported some osnoise functions with "no previous prototype." Fix these warnings by making local functions static, and by adding: void osnoise_trace_irq_entry(int id); void osnoise_trace_irq_exit(int id, const char *desc); to include/linux/trace.h. Link: https://lkml.kernel.org/r/e40d3cb4be8bde921f4b40fa6a095cf85ab807bd.1624872608.git.bristot@redhat.com Fixes: bce29ac9 ("trace: Add osnoise tracer") Reported-by:kernel test robot <lkp@intel.com> Signed-off-by:
Daniel Bristot de Oliveira <bristot@redhat.com> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
Loading
Please register or sign in to comment