* [android-common:android14-5.15 1/2] kernel/sched/core.c:4854:6: error: no previous prototype for function '__balance_callbacks'
@ 2023-12-18 5:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-18 5:22 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android14-5.15
head: abea1cb16e43c1dbbcad5b826fe6952c343f59fb
commit: fdaddcab764a1219457d72273a96e2afb30b8824 [1/2] ANDROID: GKI: vendor code needs __balance_callbacks access
config: x86_64-sof-customedconfig-compile-test-defconfig (https://download.01.org/0day-ci/archive/20231218/202312181334.JDngriy0-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231218/202312181334.JDngriy0-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/202312181334.JDngriy0-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/core.c:13:
kernel/sched/sched.h:1770:15: error: cast from 'void (*)(struct rq *)' to 'void (*)(struct callback_head *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
head->func = (void (*)(struct callback_head *))func;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:3543:6: error: no previous prototype for function 'sched_set_stop_task' [-Werror,-Wmissing-prototypes]
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
kernel/sched/core.c:3543:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
static
kernel/sched/core.c:4796:10: error: cast from 'void (*)(struct callback_head *)' to 'void (*)(struct rq *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
func = (void (*)(struct rq *))head->func;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:4820:10: error: cast from 'void (*)(struct rq *)' to 'void (*)(struct callback_head *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
.func = (void (*)(struct callback_head *))balance_push,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sched/core.c:4854:6: error: no previous prototype for function '__balance_callbacks' [-Werror,-Wmissing-prototypes]
void __balance_callbacks(struct rq *rq)
^
kernel/sched/core.c:4854:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __balance_callbacks(struct rq *rq)
^
static
5 errors generated.
vim +/__balance_callbacks +4854 kernel/sched/core.c
4853
> 4854 void __balance_callbacks(struct rq *rq)
4855 {
4856 do_balance_callbacks(rq, __splice_balance_callbacks(rq, false));
4857 }
4858 EXPORT_SYMBOL_GPL(__balance_callbacks);
4859
--
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:[~2023-12-18 5:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-18 5:22 [android-common:android14-5.15 1/2] kernel/sched/core.c:4854:6: error: no previous prototype for function '__balance_callbacks' 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.