* [openeuler:OLK-6.6 2909/2909] mm/mem_reliable.c:345:2: error: call to undeclared function 'mem_reliable_ctrl_bit_disable'; ISO C99 and later do not support implicit function declarations
@ 2025-09-23 0:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-23 0:02 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-6.6
head: a159deb279dfe156316d8c3957dc7f253686ff83
commit: 425771499c0742a996ab28df143d7a5123102686 [2909/2909] mm: mem_reliable: Introduce proc interface to disable memory reliable features
config: arm64-randconfig-r121-20250923 (https://download.01.org/0day-ci/archive/20250923/202509230718.hDzgcLLM-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250923/202509230718.hDzgcLLM-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/202509230718.hDzgcLLM-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/mem_reliable.c:345:2: error: call to undeclared function 'mem_reliable_ctrl_bit_disable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
mem_reliable_ctrl_bit_disable(idx);
^
mm/mem_reliable.c:345:2: note: did you mean 'mem_reliable_ctrl_bit_disabled'?
mm/mem_reliable.c:320:13: note: 'mem_reliable_ctrl_bit_disabled' declared here
static void mem_reliable_ctrl_bit_disabled(int idx) {}
^
1 error generated.
vim +/mem_reliable_ctrl_bit_disable +345 mm/mem_reliable.c
322
323 static void mem_reliable_feature_disable(int idx)
324 {
325 char *str = NULL;
326
327 switch (idx) {
328 case MEM_RELIABLE_FALLBACK:
329 reliable_allow_fallback = false;
330 str = "fallback";
331 break;
332 case MEM_RELIABLE_SHMEM:
333 shmem_reliable = false;
334 str = "shmem";
335 break;
336 case MEM_RELIABLE_PAGECACHE:
337 pagecache_reliable = false;
338 str = "pagecache";
339 break;
340 default:
341 pr_err("unknown index: %d", idx);
342 return;
343 }
344
> 345 mem_reliable_ctrl_bit_disable(idx);
346 pr_info("%s is disabled\n", str);
347 }
348
--
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:[~2025-09-23 0:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-23 0:02 [openeuler:OLK-6.6 2909/2909] mm/mem_reliable.c:345:2: error: call to undeclared function 'mem_reliable_ctrl_bit_disable'; ISO C99 and later do not support implicit function declarations 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.