* [jpoimboe:objtool-diff 2/2] fs/kpatch-macros.h:54:11: fatal error: kpatch.h: No such file or directory
@ 2024-05-25 1:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-25 1:45 UTC (permalink / raw)
To: Josh Poimboeuf; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-diff
head: 745009dc796e56fc87e911138d801679ecd3576e
commit: 745009dc796e56fc87e911138d801679ecd3576e [2/2] test
config: parisc-allnoconfig (https://download.01.org/0day-ci/archive/20240525/202405250910.MEZEIATv-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240525/202405250910.MEZEIATv-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/202405250910.MEZEIATv-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from fs/aio.c:54:
>> fs/kpatch-macros.h:54:11: fatal error: kpatch.h: No such file or directory
54 | # include "kpatch.h"
| ^~~~~~~~~~
compilation terminated.
--
kernel/fork.c: In function 'kernel_clone':
>> kernel/fork.c:2815:18: error: implicit declaration of function 'klp_shadow_get_or_alloc' [-Werror=implicit-function-declaration]
2815 | newpid = klp_shadow_get_or_alloc(p, 0, sizeof(*newpid), GFP_KERNEL,
| ^~~~~~~~~~~~~~~~~~~~~~~
>> kernel/fork.c:2815:16: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
2815 | newpid = klp_shadow_get_or_alloc(p, 0, sizeof(*newpid), GFP_KERNEL,
| ^
cc1: some warnings being treated as errors
--
kernel/exit.c: In function 'do_exit':
>> kernel/exit.c:882:9: error: implicit declaration of function 'klp_shadow_free' [-Werror=implicit-function-declaration]
882 | klp_shadow_free(tsk, 0, NULL);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from kernel/kpatch-syscall.h:4,
from kernel/sys.c:1307:
>> kernel/kpatch-macros.h:54:11: fatal error: kpatch.h: No such file or directory
54 | # include "kpatch.h"
| ^~~~~~~~~~
compilation terminated.
--
>> drivers/tty/n_tty.c:2350: warning: expecting prototype for n_tty_write(). Prototype was for kpatch_n_tty_write() instead
--
fs/proc/array.c: In function 'task_context_switch_counts':
>> fs/proc/array.c:408:18: error: implicit declaration of function 'klp_shadow_get' [-Werror=implicit-function-declaration]
408 | newpid = klp_shadow_get(p, 0);
| ^~~~~~~~~~~~~~
>> fs/proc/array.c:408:16: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
408 | newpid = klp_shadow_get(p, 0);
| ^
cc1: some warnings being treated as errors
vim +54 fs/kpatch-macros.h
8603978b6c309a Josh Poimboeuf 2024-03-23 49
8603978b6c309a Josh Poimboeuf 2024-03-23 50 #ifdef HAS_LIVEPATCH_CALLBACKS
8603978b6c309a Josh Poimboeuf 2024-03-23 51 # include <linux/livepatch.h>
8603978b6c309a Josh Poimboeuf 2024-03-23 52 typedef struct klp_object patch_object;
8603978b6c309a Josh Poimboeuf 2024-03-23 53 #else
8603978b6c309a Josh Poimboeuf 2024-03-23 @54 # include "kpatch.h"
8603978b6c309a Josh Poimboeuf 2024-03-23 55 typedef struct kpatch_object patch_object;
8603978b6c309a Josh Poimboeuf 2024-03-23 56 #endif /* HAS_LIVEPATCH_CALLBACKS */
8603978b6c309a Josh Poimboeuf 2024-03-23 57
:::::: The code at line 54 was first introduced by commit
:::::: 8603978b6c309a0184ea26eb1cc822f889ec4654 todo
:::::: TO: Josh Poimboeuf <jpoimboe@kernel.org>
:::::: CC: Josh Poimboeuf <jpoimboe@kernel.org>
--
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-05-25 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 1:45 [jpoimboe:objtool-diff 2/2] fs/kpatch-macros.h:54:11: fatal error: kpatch.h: No such file or directory 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.