tracing: Make system_callback() function static

commit 5ddd8baa48 upstream.

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

Fixes: 5790b1fb3d ("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>
This commit is contained in:
Steven Rostedt (Google) 2023-10-05 10:47:45 -04:00 committed by Greg Kroah-Hartman
parent cec85aa54b
commit 9389eaaca7
1 changed files with 1 additions and 1 deletions

View File

@ -2302,7 +2302,7 @@ create_new_subsystem(const char *name)
return NULL;
}
int system_callback(const char *name, umode_t *mode, void **data,
static int system_callback(const char *name, umode_t *mode, void **data,
const struct file_operations **fops)
{
if (strcmp(name, "filter") == 0)