From: Helge Deller <deller@gmx.de>
To: Yu-Chun Lin <eleanor15x@gmail.com>,
James.Bottomley@HansenPartnership.com
Cc: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org,
jserv@ccns.ncku.edu.tw, visitorckw@gmail.com,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] parisc: PDT: Fix missing prototype warning
Date: Fri, 28 Feb 2025 08:05:10 +0100 [thread overview]
Message-ID: <5fca72b9-fd7f-4e37-ae5f-1afcb0362c6d@gmx.de> (raw)
In-Reply-To: <20250208174304.2627078-1-eleanor15x@gmail.com>
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@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502082315.IPaHaTyM-lkp@intel.com/
> Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com>
applied.
Thanks!
Helge
prev parent reply other threads:[~2025-02-28 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-08 17:43 Yu-Chun Lin
2025-02-28 7:05 ` Helge Deller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5fca72b9-fd7f-4e37-ae5f-1afcb0362c6d@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=eleanor15x@gmail.com \
--cc=jserv@ccns.ncku.edu.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=lkp@intel.com \
--cc=visitorckw@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®