[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110300303.Ddq7WKij-lkp@intel.com>
Date: Sat, 30 Oct 2021 03:46:11 +0800
From: kernel test robot <lkp@...el.com>
To: Joe Lawrence <joe.lawrence@...hat.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [joe-lawrence:klp-convert-v5-expanded-v5.14-rebase1 33/47]
lib/livepatch/test_klp_convert1.c:38:6: warning: no previous prototype for
'print_static_strings'
tree: https://github.com/joe-lawrence/linux klp-convert-v5-expanded-v5.14-rebase1
head: 74c41c8a3056994b50b93c5f534dff4d6d6e7d8b
commit: ce26109222c9a794f23560579a07f8aac8870c87 [33/47] WIP: (squash) livepatch/selftests: Add __asm__ symbol renaming examples
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/joe-lawrence/linux/commit/ce26109222c9a794f23560579a07f8aac8870c87
git remote add joe-lawrence https://github.com/joe-lawrence/linux
git fetch --no-tags joe-lawrence klp-convert-v5-expanded-v5.14-rebase1
git checkout ce26109222c9a794f23560579a07f8aac8870c87
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
lib/livepatch/test_klp_convert1.c:21:6: warning: no previous prototype for 'print_saved_command_line' [-Wmissing-prototypes]
21 | void print_saved_command_line(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
lib/livepatch/test_klp_convert1.c:26:6: warning: no previous prototype for 'print_driver_name' [-Wmissing-prototypes]
26 | void print_driver_name(void)
| ^~~~~~~~~~~~~~~~~
lib/livepatch/test_klp_convert1.c:32:6: warning: no previous prototype for 'print_homonym_string' [-Wmissing-prototypes]
32 | void print_homonym_string(void)
| ^~~~~~~~~~~~~~~~~~~~
>> lib/livepatch/test_klp_convert1.c:38:6: warning: no previous prototype for 'print_static_strings' [-Wmissing-prototypes]
38 | void print_static_strings(void)
| ^~~~~~~~~~~~~~~~~~~~
vim +/print_static_strings +38 lib/livepatch/test_klp_convert1.c
37
> 38 void print_static_strings(void)
39 {
40 pr_info("klp_string.12345 = %s\n", klp_string_a);
41 pr_info("klp_string.67890 = %s\n", klp_string_b);
42 }
43
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (65959 bytes)
Powered by blists - more mailing lists