From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Christian Brauner <brauner@kernel.org>,
Alexander Gordeev <agordeev@linux.ibm.com>
Subject: arch/parisc/kernel/pdt.c:65:6: warning: no previous prototype for 'arch_report_meminfo'
Date: Mon, 6 Jan 2025 06:11:06 +0800 [thread overview]
Message-ID: <202501060625.LbITrgvx-lkp@intel.com> (raw)
Hi Arnd,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9244696b34f2a626d7468864420ab6a47289bf10
commit: ef104443bffa004f631729dfc924f0b84abbd602 procfs: consolidate arch_report_meminfo declaration
date: 1 year, 8 months ago
config: parisc-randconfig-r016-20230411 (https://download.01.org/0day-ci/archive/20250106/202501060625.LbITrgvx-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250106/202501060625.LbITrgvx-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501060625.LbITrgvx-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> 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)
| ^~~~~~~~~~~~~~~~~~~
vim +/arch_report_meminfo +65 arch/parisc/kernel/pdt.c
c9c2877d08d9aa Helge Deller 2017-05-11 63
c9c2877d08d9aa Helge Deller 2017-05-11 64 /* report PDT entries via /proc/meminfo */
c9c2877d08d9aa Helge Deller 2017-05-11 @65 void arch_report_meminfo(struct seq_file *m)
c9c2877d08d9aa Helge Deller 2017-05-11 66 {
c9c2877d08d9aa Helge Deller 2017-05-11 67 if (pdt_type == PDT_NONE)
c9c2877d08d9aa Helge Deller 2017-05-11 68 return;
c9c2877d08d9aa Helge Deller 2017-05-11 69
c9c2877d08d9aa Helge Deller 2017-05-11 70 seq_printf(m, "PDT_max_entries: %7lu\n",
c9c2877d08d9aa Helge Deller 2017-05-11 71 pdt_status.pdt_size);
c9c2877d08d9aa Helge Deller 2017-05-11 72 seq_printf(m, "PDT_cur_entries: %7lu\n",
c9c2877d08d9aa Helge Deller 2017-05-11 73 pdt_status.pdt_entries);
c9c2877d08d9aa Helge Deller 2017-05-11 74 }
c9c2877d08d9aa Helge Deller 2017-05-11 75
:::::: The code at line 65 was first introduced by commit
:::::: c9c2877d08d9aa0ca0a5c227ac795fbb76269300 parisc: Add Page Deallocation Table (PDT) support
:::::: TO: Helge Deller <deller@gmx.de>
:::::: CC: Helge Deller <deller@gmx.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-01-05 22:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 22:11 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 17:19 arch/parisc/kernel/pdt.c:65:6: warning: no previous prototype for 'arch_report_meminfo' kernel test robot
2025-02-08 15:43 kernel test robot
2024-01-07 20:35 kernel test robot
2023-09-13 21:43 kernel test robot
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=202501060625.LbITrgvx-lkp@intel.com \
--to=lkp@intel.com \
--cc=agordeev@linux.ibm.com \
--cc=arnd@arndb.de \
--cc=brauner@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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