All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2021-10-29 19:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-29 19:14 UTC (permalink / raw)
  To: Joe Lawrence; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65959 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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'
@ 2021-10-29 19:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-29 19:14 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2925 bytes --]

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65959 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-29 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 19:14 [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' kernel test robot
2021-10-29 19:14 ` 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.