Hi samirweng1979, Thank you for the patch! Yet something to improve: [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on wireless-drivers/master sparc-next/master v5.11 next-20210225] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/samirweng1979/qtnfmac-remove-meaningless-goto-statement-and-labels/20210225-145714 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: x86_64-randconfig-a001-20210225 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a921aaf789912d981cbb2036bdc91ad7289e1523) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/0day-ci/linux/commit/d18bea1fd25dee219ae56343ff9caf9cb6eb1519 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review samirweng1979/qtnfmac-remove-meaningless-goto-statement-and-labels/20210225-145714 git checkout d18bea1fd25dee219ae56343ff9caf9cb6eb1519 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/net/wireless/quantenna/qtnfmac/commands.c:1901:8: error: use of undeclared label 'out' goto out; ^ 1 error generated. vim +/out +1901 drivers/net/wireless/quantenna/qtnfmac/commands.c 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1867 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1868 int qtnf_cmd_send_change_sta(struct qtnf_vif *vif, const u8 *mac, 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1869 struct station_parameters *params) 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1870 { 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1871 struct sk_buff *cmd_skb; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1872 struct qlink_cmd_change_sta *cmd; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1873 int ret = 0; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1874 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1875 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1876 QLINK_CMD_CHANGE_STA, 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1877 sizeof(*cmd)); c93fe71c91d0ae Sergey Matyukevich 2018-01-22 1878 if (!cmd_skb) 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1879 return -ENOMEM; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1880 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1881 qtnf_bus_lock(vif->mac->bus); 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1882 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1883 cmd = (struct qlink_cmd_change_sta *)cmd_skb->data; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1884 ether_addr_copy(cmd->sta_addr, mac); 4d2a7a1cfa68e3 Igor Mitsyanko 2017-12-19 1885 cmd->flag_update.mask = 4d2a7a1cfa68e3 Igor Mitsyanko 2017-12-19 1886 cpu_to_le32(qtnf_encode_sta_flags(params->sta_flags_mask)); 4d2a7a1cfa68e3 Igor Mitsyanko 2017-12-19 1887 cmd->flag_update.value = 4d2a7a1cfa68e3 Igor Mitsyanko 2017-12-19 1888 cpu_to_le32(qtnf_encode_sta_flags(params->sta_flags_set)); 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1889 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1890 switch (vif->wdev.iftype) { 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1891 case NL80211_IFTYPE_AP: 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1892 cmd->if_type = cpu_to_le16(QLINK_IFTYPE_AP); 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1893 break; 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1894 case NL80211_IFTYPE_STATION: 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1895 cmd->if_type = cpu_to_le16(QLINK_IFTYPE_STATION); 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1896 break; 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1897 default: 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1898 pr_err("unsupported iftype %d\n", vif->wdev.iftype); 63f6982075d890 Colin Ian King 2020-09-25 1899 dev_kfree_skb(cmd_skb); 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1900 ret = -EINVAL; 805b28c05c8e04 Sergey Matyukevich 2017-07-28 @1901 goto out; 805b28c05c8e04 Sergey Matyukevich 2017-07-28 1902 } 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1903 c6ed298ffe09fb Sergey Matyukevich 2018-10-05 1904 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1905 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1906 qtnf_bus_unlock(vif->mac->bus); c6ed298ffe09fb Sergey Matyukevich 2018-10-05 1907 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1908 return ret; 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1909 } 98f44cb0655cbe Igor Mitsyanko 2017-05-11 1910 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org