LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sven Eckelmann <sven@narfation.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Simon Wunderlich <sw@simonwunderlich.de>
Subject: [linux-stable-rc:linux-4.9.y 9910/9999] net/batman-adv/bat_iv_ogm.o: warning: objtool: batadv_iv_ogm_schedule_buff() falls through to next function batadv_iv_ogm_orig_get.cold()
Date: Wed, 28 Jul 2021 06:11:24 +0800	[thread overview]
Message-ID: <202107280616.1mAMH2bO-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
head:   6d7e889c2478cf33e82cfaeedbd9b81867f05dc6
commit: 1f9fd18c20252634cb4a523794aa1eea61840b17 [9910/9999] batman-adv: Avoid free/alloc race when handling OGM buffer
config: x86_64-randconfig-r021-20210725 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=1f9fd18c20252634cb4a523794aa1eea61840b17
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-4.9.y
        git checkout 1f9fd18c20252634cb4a523794aa1eea61840b17
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash LDFLAGS=-z max-page-size=0x200000  arch/x86/xen/ fs/ceph/ net/batman-adv/

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 >>):

   In file included from include/linux/rhashtable.h:24,
                    from include/net/inet_frag.h:4,
                    from include/net/netns/ipv4.h:9,
                    from include/net/net_namespace.h:17,
                    from include/linux/netdevice.h:43,
                    from include/linux/etherdevice.h:26,
                    from net/batman-adv/main.h:189,
                    from net/batman-adv/bat_iv_ogm.h:21,
                    from net/batman-adv/bat_iv_ogm.c:18:
   include/linux/jhash.h: In function 'jhash':
   include/linux/jhash.h:90:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      90 |  case 12: c += (u32)k[11]<<24;
         |           ~~^~~~~~~~~~~~~~~~~
   include/linux/jhash.h:91:2: note: here
      91 |  case 11: c += (u32)k[10]<<16;
         |  ^~~~
   include/linux/jhash.h:91:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      91 |  case 11: c += (u32)k[10]<<16;
         |           ~~^~~~~~~~~~~~~~~~~
   include/linux/jhash.h:92:2: note: here
      92 |  case 10: c += (u32)k[9]<<8;
         |  ^~~~
   include/linux/jhash.h:92:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      92 |  case 10: c += (u32)k[9]<<8;
         |           ~~^~~~~~~~~~~~~~~
   include/linux/jhash.h:93:2: note: here
      93 |  case 9:  c += k[8];
         |  ^~~~
   include/linux/jhash.h:93:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      93 |  case 9:  c += k[8];
         |           ~~^~~~~~~
   include/linux/jhash.h:94:2: note: here
      94 |  case 8:  b += (u32)k[7]<<24;
         |  ^~~~
   include/linux/jhash.h:94:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      94 |  case 8:  b += (u32)k[7]<<24;
         |           ~~^~~~~~~~~~~~~~~~
   include/linux/jhash.h:95:2: note: here
      95 |  case 7:  b += (u32)k[6]<<16;
         |  ^~~~
   include/linux/jhash.h:95:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      95 |  case 7:  b += (u32)k[6]<<16;
         |           ~~^~~~~~~~~~~~~~~~
   include/linux/jhash.h:96:2: note: here
      96 |  case 6:  b += (u32)k[5]<<8;
         |  ^~~~
   include/linux/jhash.h:96:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      96 |  case 6:  b += (u32)k[5]<<8;
         |           ~~^~~~~~~~~~~~~~~
   include/linux/jhash.h:97:2: note: here
      97 |  case 5:  b += k[4];
         |  ^~~~
   include/linux/jhash.h:97:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      97 |  case 5:  b += k[4];
         |           ~~^~~~~~~
   include/linux/jhash.h:98:2: note: here
      98 |  case 4:  a += (u32)k[3]<<24;
         |  ^~~~
   include/linux/jhash.h:98:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      98 |  case 4:  a += (u32)k[3]<<24;
         |           ~~^~~~~~~~~~~~~~~~
   include/linux/jhash.h:99:2: note: here
      99 |  case 3:  a += (u32)k[2]<<16;
         |  ^~~~
   include/linux/jhash.h:99:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
      99 |  case 3:  a += (u32)k[2]<<16;
         |           ~~^~~~~~~~~~~~~~~~
   include/linux/jhash.h:100:2: note: here
     100 |  case 2:  a += (u32)k[1]<<8;
         |  ^~~~
   include/linux/jhash.h:100:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
     100 |  case 2:  a += (u32)k[1]<<8;
         |           ~~^~~~~~~~~~~~~~~
   include/linux/jhash.h:101:2: note: here
     101 |  case 1:  a += k[0];
         |  ^~~~
>> net/batman-adv/bat_iv_ogm.o: warning: objtool: batadv_iv_ogm_schedule_buff() falls through to next function batadv_iv_ogm_orig_get.cold()

---
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: 30266 bytes --]

                 reply	other threads:[~2021-07-27 22:12 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=202107280616.1mAMH2bO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven@narfation.org \
    --cc=sw@simonwunderlich.de \
    --subject='Re: [linux-stable-rc:linux-4.9.y 9910/9999] net/batman-adv/bat_iv_ogm.o: warning: objtool: batadv_iv_ogm_schedule_buff() falls through to next function batadv_iv_ogm_orig_get.cold()' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).