[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5fca72b9-fd7f-4e37-ae5f-1afcb0362c6d@gmx.de>
Date: Fri, 28 Feb 2025 08:05:10 +0100
From: Helge Deller <deller@....de>
To: Yu-Chun Lin <eleanor15x@...il.com>, James.Bottomley@...senPartnership.com
Cc: linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org,
jserv@...s.ncku.edu.tw, visitorckw@...il.com,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] parisc: PDT: Fix missing prototype warning
On 2/8/25 18:43, Yu-Chun Lin wrote:
> 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@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502082315.IPaHaTyM-lkp@intel.com/
> Signed-off-by: Yu-Chun Lin <eleanor15x@...il.com>
applied.
Thanks!
Helge
Powered by blists - more mailing lists