* [openeuler:OLK-5.10 2284/2284] fs/proc/base.c:1454:6: warning: no previous prototype for 'pbha_bit0_hide_file'
@ 2024-11-03 12:09 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-03 12:09 UTC (permalink / raw)
To: kernel, Wupeng Ma; +Cc: oe-kbuild-all
Hi Ma,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 170b758d064664f953e8f6de41dd4a3ef122443a
commit: bea38841945a52bd03004240eb0da6a5115bae21 [2284/2284] arm64: mm: Hide pbha_bit0 in procfs if pbha is not enabled
config: arm64-randconfig-003-20241029 (https://download.01.org/0day-ci/archive/20241103/202411032055.ZoDSmsZX-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241103/202411032055.ZoDSmsZX-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/202411032055.ZoDSmsZX-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/proc/base.c:1454:6: warning: no previous prototype for 'pbha_bit0_hide_file' [-Wmissing-prototypes]
1454 | bool pbha_bit0_hide_file(const char *name)
| ^~~~~~~~~~~~~~~~~~~
vim +/pbha_bit0_hide_file +1454 fs/proc/base.c
1453
> 1454 bool pbha_bit0_hide_file(const char *name)
1455 {
1456 if (!system_support_pbha_bit0() && !strncmp("pbha_bit0", name, 9))
1457 return true;
1458
1459 return false;
1460 }
1461 #else
1462 static bool pbha_bit0_hide_file(const char *name) { return false; }
1463 #endif
1464
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-03 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03 12:09 [openeuler:OLK-5.10 2284/2284] fs/proc/base.c:1454:6: warning: no previous prototype for 'pbha_bit0_hide_file' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.