]> git.itanic.dy.fi Git - linux-stable/commit
tracing: Make system_callback() function static
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 5 Oct 2023 14:47:45 +0000 (10:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:28 +0000 (09:25 +0100)
commit9389eaaca7b991582310da83b5473e9c8822758c
treea8aa8c0a65e745d408e7cc02b7bc3a954ebfe7ff
parentcec85aa54b12d4b2992b04b1183a634c3a310e9c
tracing: Make system_callback() function static

commit 5ddd8baa4857709b4e5d84b376d735152851955b upstream.

The system_callback() function in trace_events.c is only used within that
file. The "static" annotation was missed.

Fixes: 5790b1fb3d672 ("eventfs: Remove eventfs_file and just use eventfs_inode")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310051743.y9EobbUr-lkp@intel.com/
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace_events.c