tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 
ath11k-qca6390-bringup
head:   1f08b40388971a59d03370c0bdd3b0d5c3754132
commit: a2eb85d035d95706c62f117a1280bfae3283e9cc [67/68] HACK: ath11k: read mhi 
version
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
        git checkout a2eb85d035d95706c62f117a1280bfae3283e9cc
        # 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: kbuild test robot <l...@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/net/wireless/ath/ath11k/pci.c:371:6: warning: no previous prototype for 
function 'ath11k_pci_get_msi_address' [-Wmissing-prototypes]
void ath11k_pci_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo,
^
drivers/net/wireless/ath/ath11k/pci.c:371:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
void ath11k_pci_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo,
^
static
drivers/net/wireless/ath/ath11k/pci.c:417:5: warning: no previous prototype for 
function 'ath11k_get_user_msi_assignment' [-Wmissing-prototypes]
int ath11k_get_user_msi_assignment(struct ath11k_base *ab, char *user_name,
^
drivers/net/wireless/ath/ath11k/pci.c:417:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
int ath11k_get_user_msi_assignment(struct ath11k_base *ab, char *user_name,
^
static
drivers/net/wireless/ath/ath11k/pci.c:759:5: warning: no previous prototype for 
function 'ath11k_pci_qca6x90_powerup' [-Wmissing-prototypes]
int ath11k_pci_qca6x90_powerup(struct ath11k_pci *ab_pci)
^
drivers/net/wireless/ath/ath11k/pci.c:759:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
int ath11k_pci_qca6x90_powerup(struct ath11k_pci *ab_pci)
^
static
drivers/net/wireless/ath/ath11k/pci.c:764:6: warning: no previous prototype for 
function 'ath11k_pci_qca6x90_powerdown' [-Wmissing-prototypes]
void ath11k_pci_qca6x90_powerdown(struct ath11k_pci *ab_pci)
^
drivers/net/wireless/ath/ath11k/pci.c:764:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
void ath11k_pci_qca6x90_powerdown(struct ath11k_pci *ab_pci)
^
static
>> drivers/net/wireless/ath/ath11k/pci.c:921:6: warning: no previous prototype 
>> for function 'ath11k_pci_read_mhi_version' [-Wmissing-prototypes]
void ath11k_pci_read_mhi_version(struct ath11k_base *ab)
^
drivers/net/wireless/ath/ath11k/pci.c:921:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
void ath11k_pci_read_mhi_version(struct ath11k_base *ab)
^
static
drivers/net/wireless/ath/ath11k/pci.c:1192:5: warning: no previous prototype 
for function 'ath11k_pci_init' [-Wmissing-prototypes]
int ath11k_pci_init(void)
^
drivers/net/wireless/ath/ath11k/pci.c:1192:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
int ath11k_pci_init(void)
^
static
drivers/net/wireless/ath/ath11k/pci.c:1205:6: warning: no previous prototype 
for function 'ath11k_pci_exit' [-Wmissing-prototypes]
void ath11k_pci_exit(void)
^
drivers/net/wireless/ath/ath11k/pci.c:1205:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
void ath11k_pci_exit(void)
^
static
7 warnings generated.

vim +/ath11k_pci_read_mhi_version +921 drivers/net/wireless/ath/ath11k/pci.c

   920  
 > 921  void ath11k_pci_read_mhi_version(struct ath11k_base *ab)
   922  {
   923          struct ath11k_pci *ab_pci;
   924          u32 val;
   925          u32 major_v, minor_v;
   926  
   927          ab_pci = ath11k_pci_priv(ab);
   928  
   929          val     = ioread32(ab_pci->mem + TCSR_SOC_HW_VERSION);
   930          major_v = (val & HW_MAJOR_VERSION_MASK) >> 
HW_MAJOR_VERSION_SHIFT;
   931          minor_v = (val & HW_MINOR_VERSION_MASK) >> 
HW_MINOR_VERSION_SHIFT;
   932  
   933          ath11k_info(ab, "Read HST HW Major Version %d, minor revision 
%d\n",
   934                      major_v, minor_v);
   935  }
   936  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

Reply via email to