lkml.org 
[lkml]   [2021]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[joe-lawrence:klp-convert-v5-expanded-v5.14-rebase1 30/47] lib/livepatch/test_klp_convert1.c:18:6: warning: no previous prototype for 'print_saved_command_line'
tree:   https://github.com/joe-lawrence/linux klp-convert-v5-expanded-v5.14-rebase1
head: 74c41c8a3056994b50b93c5f534dff4d6d6e7d8b
commit: 028660b8bb8811228fe147895c5909e54c6d19ee [30/47] livepatch/selftests: add klp-convert
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/028660b8bb8811228fe147895c5909e54c6d19ee
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 028660b8bb8811228fe147895c5909e54c6d19ee
# 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@intel.com>

All warnings (new ones prefixed by >>):

>> lib/livepatch/test_klp_convert1.c:18:6: warning: no previous prototype for 'print_saved_command_line' [-Wmissing-prototypes]
18 | void print_saved_command_line(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> lib/livepatch/test_klp_convert1.c:23:6: warning: no previous prototype for 'print_driver_name' [-Wmissing-prototypes]
23 | void print_driver_name(void)
| ^~~~~~~~~~~~~~~~~
>> lib/livepatch/test_klp_convert1.c:29:6: warning: no previous prototype for 'print_homonym_string' [-Wmissing-prototypes]
29 | void print_homonym_string(void)
| ^~~~~~~~~~~~~~~~~~~~
--
>> lib/livepatch/test_klp_convert2.c:18:6: warning: no previous prototype for 'print_saved_command_line' [-Wmissing-prototypes]
18 | void print_saved_command_line(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> lib/livepatch/test_klp_convert2.c:23:6: warning: no previous prototype for 'print_driver_name' [-Wmissing-prototypes]
23 | void print_driver_name(void)
| ^~~~~~~~~~~~~~~~~
>> lib/livepatch/test_klp_convert2.c:29:6: warning: no previous prototype for 'print_homonym_string' [-Wmissing-prototypes]
29 | void print_homonym_string(void)
| ^~~~~~~~~~~~~~~~~~~~


vim +/print_saved_command_line +18 lib/livepatch/test_klp_convert1.c

17
> 18 void print_saved_command_line(void)
19 {
20 pr_info("saved_command_line, 0: %s\n", saved_command_line);
21 }
22
> 23 void print_driver_name(void)
24 {
25 pr_info("driver_name, 0: %s\n", driver_name);
26 pr_info("test_klp_get_driver_name(), 0: %s\n", test_klp_get_driver_name());
27 }
28
> 29 void print_homonym_string(void)
30 {
31 pr_info("homonym_string, 1: %s\n", homonym_string);
32 pr_info("get_homonym_string(), 1: %s\n", get_homonym_string());
33 }
34

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-29 21:16    [W:0.082 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site