* [bytedance:5.15-velinux 0/146] mm/oom_kill.c:318:14: warning: no previous prototype for function 'bpf_oom_evaluate_task'
@ 2025-09-22 12:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-22 12:50 UTC (permalink / raw)
To: jason.zeng; +Cc: oe-kbuild-all
Hi Chuyi,
FYI, the error/warning still remains.
tree: https://github.com/bytedance/kernel.git 5.15-velinux
head: c73db7ebb024f59416db0cf136dc2d4b9dbc3695
commit: 9cffac2e6f2df386d7cf4c2cf90d5fe2c1d6b793 [0/146] bytedance: mm, oom: Introduce bpf_oom_evaluate_task
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250922/202509222003.mgTDb3Ck-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project cafc064fc7a96b3979a023ddae1da2b499d6c954)
rustc: rustc 1.58.0 (02072b482 2022-01-11)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250922/202509222003.mgTDb3Ck-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/202509222003.mgTDb3Ck-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/oom_kill.c:318:14: warning: no previous prototype for function 'bpf_oom_evaluate_task' [-Wmissing-prototypes]
318 | noinline int bpf_oom_evaluate_task(struct task_struct *task, struct oom_control *oc)
| ^
mm/oom_kill.c:318:10: note: declare 'static' if the function is not intended to be used outside of this translation unit
318 | noinline int bpf_oom_evaluate_task(struct task_struct *task, struct oom_control *oc)
| ^
| static
1 warning generated.
vim +/bpf_oom_evaluate_task +318 mm/oom_kill.c
317
> 318 noinline int bpf_oom_evaluate_task(struct task_struct *task, struct oom_control *oc)
319 {
320 return NO_BPF_POLICY;
321 }
322 ALLOW_ERROR_INJECTION(bpf_oom_evaluate_task, ERRNO);
323
--
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-22 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22 12:50 [bytedance:5.15-velinux 0/146] mm/oom_kill.c:318:14: warning: no previous prototype for function 'bpf_oom_evaluate_task' 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.