diff options
| author | Randy Dunlap <[email protected]> | 2023-02-23 03:43:09 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-08 20:45:36 +0000 |
| commit | 0de155752b152d6bcd96b5b5bf20af336abd183a (patch) | |
| tree | 4b08b8c10d4387690fa5fccd2ba3d53c7d674b4a /fs/proc/generic.c | |
| parent | ia64: mm/contig: fix section mismatch warning/error (diff) | |
| download | kernel-0de155752b152d6bcd96b5b5bf20af336abd183a.tar.gz kernel-0de155752b152d6bcd96b5b5bf20af336abd183a.zip | |
ia64: salinfo: placate defined-but-not-used warning
When CONFIG_PROC_FS is not set, proc_salinfo_show() is not used. Mark the
function as __maybe_unused to quieten the warning message.
../arch/ia64/kernel/salinfo.c:584:12: warning: 'proc_salinfo_show' defined but not used [-Wunused-function]
584 | static int proc_salinfo_show(struct seq_file *m, void *v)
| ^~~~~~~~~~~~~~~~~
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 3f3942aca6da ("proc: introduce proc_create_single{,_data}")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions
