LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [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()
@ 2021-07-27 22:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-27 22:11 UTC (permalink / raw)
To: Sven Eckelmann
Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman, Simon Wunderlich
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-27 22:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 22:11 [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() kernel test robot
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).