Hi Kalle, FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup head: 65ab8594d0cf26d1378bd8d040e93a393c446d95 commit: 258bbf525e652e244aa8b2331f55fda573fbe926 [3/136] ath11k: add driver config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 258bbf525e652e244aa8b2331f55fda573fbe926 # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sparc64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <[email protected]> All errors (new ones prefixed by >>): In file included from drivers/net/wireless/ath/ath11k/core.h:20:0, from drivers/net/wireless/ath/ath11k/ahb.h:8, from drivers/net/wireless/ath/ath11k/core.c:10: drivers/net/wireless/ath/ath11k/dp.h: In function 'dp_peer_map_get_mac_addr': >> drivers/net/wireless/ath/ath11k/dp.h:958:13: error: implicit declaration of >> function 'swap32'; did you mean 'swab32'? >> [-Werror=implicit-function-declaration] addr_l32 = swap32(addr_l32); ^~~~~~ swab32 >> drivers/net/wireless/ath/ath11k/dp.h:959:13: error: implicit declaration of >> function 'swap16'; did you mean 'swab16'? >> [-Werror=implicit-function-declaration] addr_h16 = swap16(addr_h16); ^~~~~~ swab16 cc1: some warnings being treated as errors -- In file included from drivers/net/wireless/ath/ath11k/core.h:20:0, from drivers/net/wireless/ath/ath11k/mac.c:9: drivers/net/wireless/ath/ath11k/dp.h: In function 'dp_peer_map_get_mac_addr': >> drivers/net/wireless/ath/ath11k/dp.h:958:13: error: implicit declaration of >> function 'swap32'; did you mean 'swab32'? >> [-Werror=implicit-function-declaration] addr_l32 = swap32(addr_l32); ^~~~~~ swab32 >> drivers/net/wireless/ath/ath11k/dp.h:959:13: error: implicit declaration of >> function 'swap16'; did you mean 'swab16'? >> [-Werror=implicit-function-declaration] addr_h16 = swap16(addr_h16); ^~~~~~ swab16 In file included from include/linux/spinlock_types.h:18:0, from include/linux/spinlock.h:82, from include/linux/seqlock.h:36, from include/linux/time.h:6, from include/linux/skbuff.h:19, from include/linux/if_ether.h:23, from include/net/mac80211.h:21, from drivers/net/wireless/ath/ath11k/mac.c:6: drivers/net/wireless/ath/ath11k/mac.c: In function 'ath11k_mac_set_peer_vht_fixed_rate.isra.17': include/linux/lockdep.h:340:45: warning: 'ar' may be used uninitialized in this function [-Wmaybe-uninitialized] #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map) ^ drivers/net/wireless/ath/ath11k/mac.c:2299:17: note: 'ar' was declared here struct ath11k *ar; ^~ cc1: some warnings being treated as errors -- In file included from drivers/net/wireless/ath/ath11k/core.h:20:0, from drivers/net/wireless/ath/ath11k/debug_htt_stats.c:6: drivers/net/wireless/ath/ath11k/dp.h: In function 'dp_peer_map_get_mac_addr': >> drivers/net/wireless/ath/ath11k/dp.h:958:13: error: implicit declaration of >> function 'swap32'; did you mean 'swab32'? >> [-Werror=implicit-function-declaration] addr_l32 = swap32(addr_l32); ^~~~~~ swab32 >> drivers/net/wireless/ath/ath11k/dp.h:959:13: error: implicit declaration of >> function 'swap16'; did you mean 'swab16'? >> [-Werror=implicit-function-declaration] addr_h16 = swap16(addr_h16); ^~~~~~ swab16 drivers/net/wireless/ath/ath11k/debug_htt_stats.c: In function 'ath11k_dbg_htt_ext_stats_handler': drivers/net/wireless/ath/ath11k/debug_htt_stats.c:4619:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] stats_req = (struct debug_htt_stats_req *)cookie_lsb; ^ drivers/net/wireless/ath/ath11k/debug_htt_stats.c: In function 'ath11k_read_htt_stats': drivers/net/wireless/ath/ath11k/debug_htt_stats.c:4696:14: error: implicit declaration of function 'vmalloc'; did you mean 'kvmalloc'? [-Werror=implicit-function-declaration] stats_req = vmalloc(sizeof(*stats_req) + ^~~~~~~ kvmalloc drivers/net/wireless/ath/ath11k/debug_htt_stats.c:4696:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] stats_req = vmalloc(sizeof(*stats_req) + ^ drivers/net/wireless/ath/ath11k/debug_htt_stats.c:4706:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cookie |= (u32)stats_req; ^ drivers/net/wireless/ath/ath11k/debug_htt_stats.c:4734:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration] vfree(stats_req); ^~~~~ kvfree cc1: some warnings being treated as errors vim +958 drivers/net/wireless/ath/ath11k/dp.h 953 954 static inline void dp_peer_map_get_mac_addr(u32 addr_l32, u16 addr_h16, 955 u8 *addr) 956 { 957 #ifdef __BIG_ENDIAN > 958 addr_l32 = swap32(addr_l32); > 959 addr_h16 = swap16(addr_h16); 960 #endif 961 memcpy(addr, &addr_l32, 4); 962 memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); 963 } 964 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
