Skip to content

Commit 5ddd8ba

Browse files
committed
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: 5790b1f ("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>
1 parent 2819f23 commit 5ddd8ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/trace/trace_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2282,7 +2282,7 @@ create_new_subsystem(const char *name)
22822282
return NULL;
22832283
}
22842284

2285-
int system_callback(const char *name, umode_t *mode, void **data,
2285+
static int system_callback(const char *name, umode_t *mode, void **data,
22862286
const struct file_operations **fops)
22872287
{
22882288
if (strcmp(name, "filter") == 0)

0 commit comments

Comments
 (0)