lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110300318.ojvfRXw3-lkp@intel.com>
Date:   Sat, 30 Oct 2021 03:14:26 +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 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@...el.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

Download attachment ".config.gz" of type "application/gzip" (65959 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ