All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath6kl:ath11k-qca6390-bringup 67/68] drivers/net/wireless/ath/ath11k/pci.c:921:6: warning: no previous prototype for function 'ath11k_pci_read_mhi_version'
@ 2020-06-03  0:28 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-06-03  0:28 UTC (permalink / raw)
  To: Kalle, Valo,; +Cc: clang-built-linux, kbuild-all, ath10k

[-- Attachment #1: Type: text/plain, Size: 4654 bytes --]

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 <lkp@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-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73565 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ath6kl:ath11k-qca6390-bringup 67/68] drivers/net/wireless/ath/ath11k/pci.c:921:6: warning: no previous prototype for function 'ath11k_pci_read_mhi_version'
@ 2020-06-03  0:28 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-06-03  0:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4749 bytes --]

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 <lkp@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-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73565 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-03  0:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03  0:28 [ath6kl:ath11k-qca6390-bringup 67/68] drivers/net/wireless/ath/ath11k/pci.c:921:6: warning: no previous prototype for function 'ath11k_pci_read_mhi_version' kbuild test robot
2020-06-03  0:28 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.