tracing: Make system_callback() function static

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

Fixes: 5790b1fb ("eventfs: Remove eventfs_file and just use eventfs_inode")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310051743.y9EobbUr-lkp@intel.com/Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 2819f23a
...@@ -2282,7 +2282,7 @@ create_new_subsystem(const char *name) ...@@ -2282,7 +2282,7 @@ create_new_subsystem(const char *name)
return NULL; 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) const struct file_operations **fops)
{ {
if (strcmp(name, "filter") == 0) if (strcmp(name, "filter") == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment