Hi Joe,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on shuah-kselftest/next]
[also build test WARNING on linux/master masahiroy-kbuild/for-next linus/master
v5.17-rc4]
[cannot apply to next-20220216]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Joe-Lawrence/livepatch-klp-conve...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: x86_64-allyesconfig
(
https://download.01.org/0day-ci/archive/20220217/202202170629.9vC9IsP0-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/ea5129d2a3f776835ce3721f966f72d39...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Joe-Lawrence/livepatch-klp-convert-tool/20220217-004100
git checkout ea5129d2a3f776835ce3721f966f72d39426188c
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash lib/livepatch/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> lib/livepatch/test_klp_convert1.c:11:6: warning: no previous
prototype for 'print_saved_command_line' [-Wmissing-prototypes]
11 |
void print_saved_command_line(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
> lib/livepatch/test_klp_convert1.c:16:6: warning: no previous
prototype for 'print_driver_name' [-Wmissing-prototypes]
16 | void
print_driver_name(void)
| ^~~~~~~~~~~~~~~~~
> lib/livepatch/test_klp_convert1.c:22:6: warning: no previous
prototype for 'print_homonym_string' [-Wmissing-prototypes]
22 | void
print_homonym_string(void)
| ^~~~~~~~~~~~~~~~~~~~
--
> lib/livepatch/test_klp_convert2.c:11:6: warning: no previous
prototype for 'print_saved_command_line' [-Wmissing-prototypes]
11 |
void print_saved_command_line(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
> lib/livepatch/test_klp_convert2.c:16:6: warning: no previous
prototype for 'print_driver_name' [-Wmissing-prototypes]
16 | void
print_driver_name(void)
| ^~~~~~~~~~~~~~~~~
> lib/livepatch/test_klp_convert2.c:22:6: warning: no previous
prototype for 'print_homonym_string' [-Wmissing-prototypes]
22 | void
print_homonym_string(void)
| ^~~~~~~~~~~~~~~~~~~~
vim +/print_saved_command_line +11 lib/livepatch/test_klp_convert1.c
10
11 void print_saved_command_line(void)
12 {
13 pr_info("saved_command_line, 0: %s\n", saved_command_line);
14 }
15
16 void print_driver_name(void)
17 {
18 pr_info("driver_name, 0: %s\n", driver_name);
19 pr_info("test_klp_get_driver_name(), 0: %s\n",
test_klp_get_driver_name());
20 }
21
22 void print_homonym_string(void)
23 {
24 pr_info("homonym_string, 1: %s\n", homonym_string);
25 pr_info("get_homonym_string(), 1: %s\n", get_homonym_string());
26 }
27
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org