Messages in this thread | | | Date | Wed, 28 Jul 2021 06:11:24 +0800 | From | kernel test robot <> | 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() |
| |
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 [unhandled content-type:application/gzip] | |