tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 8ac9764e4f9b88e554a8dafd8283dab32512691c commit: 775947c125d5bd6e00e0dcf9d12c57fd5d44d07f [8557/22438] asm-generic: fix -Wtype-limits compiler warnings config: x86_64-buildonly-randconfig-001-20240516 (https://download.01.org/0day-ci/archive/20240517/202405170118.NQpCse4L-lkp@i...) compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240517/202405170118.NQpCse4L-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202405170118.NQpCse4L-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/swapfile.o: warning: objtool: missing symbol for section .text.unlikely
-- In file included from include/linux/sctp.h:57, from net/core/dev.c:145: include/uapi/linux/sctp.h:390:1: warning: alignment 4 of 'struct sctp_paddr_change' is less than 8 [-Wpacked-not-aligned] 390 | } __attribute__((packed, aligned(4))); | ^ include/uapi/linux/sctp.h:719:1: warning: alignment 4 of 'struct sctp_setpeerprim' is less than 8 [-Wpacked-not-aligned] 719 | } __attribute__((packed, aligned(4))); | ^ include/uapi/linux/sctp.h:718:33: warning: 'sspp_addr' offset 4 in 'struct sctp_setpeerprim' isn't aligned to 8 [-Wpacked-not-aligned] 718 | struct sockaddr_storage sspp_addr; | ^~~~~~~~~ include/uapi/linux/sctp.h:732:1: warning: alignment 4 of 'struct sctp_prim' is less than 8 [-Wpacked-not-aligned] 732 | } __attribute__((packed, aligned(4))); | ^ include/uapi/linux/sctp.h:731:33: warning: 'ssp_addr' offset 4 in 'struct sctp_prim' isn't aligned to 8 [-Wpacked-not-aligned] 731 | struct sockaddr_storage ssp_addr; | ^~~~~~~~ include/uapi/linux/sctp.h:783:1: warning: alignment 4 of 'struct sctp_paddrparams' is less than 8 [-Wpacked-not-aligned] 783 | } __attribute__((packed, aligned(4))); | ^ include/uapi/linux/sctp.h:775:33: warning: 'spp_address' offset 4 in 'struct sctp_paddrparams' isn't aligned to 8 [-Wpacked-not-aligned] 775 | struct sockaddr_storage spp_address; | ^~~~~~~~~~~ include/uapi/linux/sctp.h:896:1: warning: alignment 4 of 'struct sctp_paddrinfo' is less than 8 [-Wpacked-not-aligned] 896 | } __attribute__((packed, aligned(4))); | ^ include/uapi/linux/sctp.h:890:33: warning: 'spinfo_address' offset 4 in 'struct sctp_paddrinfo' isn't aligned to 8 [-Wpacked-not-aligned] 890 | struct sockaddr_storage spinfo_address; | ^~~~~~~~~~~~~~ In file included from include/linux/if_ether.h:23, from net/core/dev.c:92: include/linux/skbuff.h: In function '__skb_metadata_differs': include/linux/skbuff.h:3501:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3501 | case 32: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3502:9: note: here 3502 | case 24: diffs |= __it_diff(a, b, 64); | ^~~~ include/linux/skbuff.h:3502:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3502 | case 24: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3503:9: note: here 3503 | case 16: diffs |= __it_diff(a, b, 64); | ^~~~ include/linux/skbuff.h:3503:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3503 | case 16: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3504:9: note: here 3504 | case 8: diffs |= __it_diff(a, b, 64); | ^~~~ include/linux/skbuff.h:3506:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3506 | case 28: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3507:9: note: here 3507 | case 20: diffs |= __it_diff(a, b, 64); | ^~~~ include/linux/skbuff.h:3507:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3507 | case 20: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3508:9: note: here 3508 | case 12: diffs |= __it_diff(a, b, 64); | ^~~~ include/linux/skbuff.h:3508:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 3508 | case 12: diffs |= __it_diff(a, b, 64); | ^~ include/linux/skbuff.h:3509:9: note: here 3509 | case 4: diffs |= __it_diff(a, b, 32); | ^~~~
net/core/dev.o: warning: objtool: missing symbol for section .text.unlikely