GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Al Viro <[email protected]>
Cc: [email protected],
	Ammar Faizi <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>
Subject: [ammarfaizi2-block:viro/vfs/work.csum 5/5] arch/x86/lib/csum-partial_64.c:119:9: warning: no previous prototype for 'ip_compute_csum'
Date: Tue, 7 Mar 2023 22:57:00 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

tree:   https://github.com/ammarfaizi2/linux-block viro/vfs/work.csum
head:   8b3fb774b1eee6ee4f8c896e3d2f25bb82d2f467
commit: 8b3fb774b1eee6ee4f8c896e3d2f25bb82d2f467 [5/5] consolidate default ip_compute_csum()
config: x86_64-buildonly-randconfig-r004-20230306 (https://download.01.org/0day-ci/archive/20230307/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/8b3fb774b1eee6ee4f8c896e3d2f25bb82d2f467
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block viro/vfs/work.csum
        git checkout 8b3fb774b1eee6ee4f8c896e3d2f25bb82d2f467
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> arch/x86/lib/csum-partial_64.c:119:9: warning: no previous prototype for 'ip_compute_csum' [-Wmissing-prototypes]
     119 | __sum16 ip_compute_csum(const void *buff, int len)
         |         ^~~~~~~~~~~~~~~


vim +/ip_compute_csum +119 arch/x86/lib/csum-partial_64.c

^1da177e4c3f41 arch/x86_64/lib/csum-partial.c Linus Torvalds 2005-04-16  114  
^1da177e4c3f41 arch/x86_64/lib/csum-partial.c Linus Torvalds 2005-04-16  115  /*
^1da177e4c3f41 arch/x86_64/lib/csum-partial.c Linus Torvalds 2005-04-16  116   * this routine is used for miscellaneous IP-like checksums, mainly
^1da177e4c3f41 arch/x86_64/lib/csum-partial.c Linus Torvalds 2005-04-16  117   * in icmp.c
^1da177e4c3f41 arch/x86_64/lib/csum-partial.c Linus Torvalds 2005-04-16  118   */
a4f89fb7c072b8 arch/x86_64/lib/csum-partial.c Al Viro        2006-11-14 @119  __sum16 ip_compute_csum(const void *buff, int len)

:::::: The code at line 119 was first introduced by commit
:::::: a4f89fb7c072b8592b296c2ba216269c0c96db43 [NET]: X86_64 checksum annotations and cleanups.

:::::: TO: Al Viro <[email protected]>
:::::: CC: David S. Miller <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

                 reply	other threads:[~2023-03-07 14:57 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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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