summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu-Chun Lin <eleanor15x@gmail.com>2025-02-08 20:43:04 +0300
committerHelge Deller <deller@gmx.de>2025-02-28 10:04:22 +0300
commitb899981750dcb958ceffa4462d903963ee494aa2 (patch)
tree47f97aaed8b79bf6591f750790fbb3d0ae9d9f6e /tools/perf/scripts/python
parent4e3ff3c5854ff584842bb2cfa484e4aa79d998bf (diff)
downloadlinux-b899981750dcb958ceffa4462d903963ee494aa2.tar.xz
parisc: PDT: Fix missing prototype warning
As reported by the kernel test robot, the following error occurs: arch/parisc/kernel/pdt.c:65:6: warning: no previous prototype for 'arch_report_meminfo' [-Wmissing-prototypes] 65 | void arch_report_meminfo(struct seq_file *m) | ^~~~~~~~~~~~~~~~~~~ arch_report_meminfo() is declared in include/linux/proc_fs.h and only defined when CONFIG_PROC_FS is enabled. Wrap its definition in #ifdef CONFIG_PROC_FS to fix the -Wmissing-prototypes warning. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202502082315.IPaHaTyM-lkp@intel.com/ Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions