tree: https://github.com/0day-ci/linux/commits/UPDATE-20200828-163247/Mauro-Carvalho-Chehab/Revert-wlcore-Adding-suppoprt-for-IGTK-key-in-wlcore-driver/20200826-135603 head: 9a1c3d292f30a65943bd5b02dd91e7f23b9b1665 commit: 9a1c3d292f30a65943bd5b02dd91e7f23b9b1665 [1/1] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver" config: arm64-randconfig-r012-20200901 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c10e63677f5d20f18010f8f68c631ddc97546f7d) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu git checkout 9a1c3d292f30a65943bd5b02dd91e7f23b9b1665 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/net/wireless/ti/wlcore/main.c:1095:6: warning: no previous prototype for function 'wl1271_check_aes_cmac_cypher' [-Wmissing-prototypes] bool wl1271_check_aes_cmac_cypher(struct wl1271 *wl) ^ drivers/net/wireless/ti/wlcore/main.c:1095:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool wl1271_check_aes_cmac_cypher(struct wl1271 *wl) ^ static 1 warning generated. # https://github.com/0day-ci/linux/commit/9a1c3d292f30a65943bd5b02dd91e7f23b9b1665 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review UPDATE-20200828-163247/Mauro-Carvalho-Chehab/Revert-wlcore-Adding-suppoprt-for-IGTK-key-in-wlcore-driver/20200826-135603 git checkout 9a1c3d292f30a65943bd5b02dd91e7f23b9b1665 vim +/wl1271_check_aes_cmac_cypher +1095 drivers/net/wireless/ti/wlcore/main.c 1094 > 1095 bool wl1271_check_aes_cmac_cypher(struct wl1271 *wl) 1096 { 1097 int ver[5] = { }; 1098 int ret; 1099 const char *p = wl->chip.fw_ver_str; 1100 1101 1102 /* The string starts with "Rev ". Ignore it */ 1103 while (*p && !isdigit(*p)) 1104 p++; 1105 1106 ret = sscanf(p, "%d.%d.%d.%d.%d", 1107 &ver[0], &ver[1], &ver[2], &ver[3], &ver[4]); 1108 1109 if (ret != ARRAY_SIZE(ver)) { 1110 wl1271_info("Parsed version: %d.%d.%d.%d.%d\n", 1111 ver[0], ver[1], ver[2], ver[3], ver[4]); 1112 wl1271_error("Couldn't parse firmware version string: %d\n", ret); 1113 return false; 1114 } 1115 1116 /* 1117 * Only versions equal (and probably above) 8.9.0.0.81 1118 * supports such feature. 1119 */ 1120 if (ver[0] < 8) 1121 return false; 1122 if (ver[1] < 9) 1123 return false; 1124 if (ver[2] > 0) 1125 return true; 1126 if (ver[3] > 0) 1127 return true; 1128 if (ver[4] >= 81) 1129 return true; 1130 1131 return false; 1132 } 1133 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip