Hi Wythe, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/D-Wythe/net-smc-refatoring-initialization-of-smc-sock/20240510-121442 base: net-next/main patch link: https://lore.kernel.org/r/1715314333-107290-3-git-send-email-alibuda%40linux.alibaba.com patch subject: [PATCH net-next 2/2] net/smc: Introduce IPPROTO_SMC config: i386-buildonly-randconfig-002-20240510 (https://download.01.org/0day-ci/archive/20240511/202405110124.GxQs28cK-lkp@xxxxxxxxx/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240511/202405110124.GxQs28cK-lkp@xxxxxxxxx/reproduce) 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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202405110124.GxQs28cK-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): net/smc/af_smc.c: In function 'smc_init': >> net/smc/af_smc.c:3710:1: warning: label 'out_inet_prot' defined but not used [-Wunused-label] out_inet_prot: ^~~~~~~~~~~~~ vim +/out_inet_prot +3710 net/smc/af_smc.c 3707 3708 static_branch_enable(&tcp_have_smc); 3709 return 0; > 3710 out_inet_prot: 3711 inet_unregister_protosw(&smc_inet_protosw); 3712 proto_unregister(&smc_inet_prot); 3713 out_ulp: 3714 tcp_unregister_ulp(&smc_ulp_ops); 3715 out_lo: 3716 smc_loopback_exit(); 3717 out_ib: 3718 smc_ib_unregister_client(); 3719 out_sock: 3720 sock_unregister(PF_SMC); 3721 out_proto6: 3722 proto_unregister(&smc_proto6); 3723 out_proto: 3724 proto_unregister(&smc_proto); 3725 out_core: 3726 smc_core_exit(); 3727 out_alloc_wqs: 3728 destroy_workqueue(smc_close_wq); 3729 out_alloc_hs_wq: 3730 destroy_workqueue(smc_hs_wq); 3731 out_alloc_tcp_ls_wq: 3732 destroy_workqueue(smc_tcp_ls_wq); 3733 out_pnet: 3734 smc_pnet_exit(); 3735 out_nl: 3736 smc_nl_exit(); 3737 out_ism: 3738 smc_clc_exit(); 3739 smc_ism_exit(); 3740 out_pernet_subsys_stat: 3741 unregister_pernet_subsys(&smc_net_stat_ops); 3742 out_pernet_subsys: 3743 unregister_pernet_subsys(&smc_net_ops); 3744 3745 return rc; 3746 } 3747 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki