mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joe Lawrence <joe.lawrence@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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'
Date: Sat, 30 Oct 2021 03:14:26 +0800	[thread overview]
Message-ID: <202110300318.ojvfRXw3-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-10-29 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110300318.ojvfRXw3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joe.lawrence@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®