linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ammarfaizi2-block:kvalo/ath/ath12k-bringup 29/59] drivers/net/wireless/ath/ath12k/pci.c:667:14: error: implicit declaration of function 'of_property_read_u32'
@ 2022-06-11 20:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-11 20:09 UTC (permalink / raw)
  To: Vasanthakumar Thiagarajan
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Kalle Valo,
	Bhagavathi Perumal S, Karthikeyan Periyasamy,
	Pradeep Kumar Chitrapu, P Praneesh, Ramya Gnanasekar, Sriram R

Hi Vasanthakumar,

FYI, the error/warning still remains.

tree:   https://github.com/ammarfaizi2/linux-block kvalo/ath/ath12k-bringup
head:   56d7bae345221fbbbabd4742151baf4d21e4822d
commit: f40abb4788a2a3868606a29d99583421e0874350 [29/59] ath12k: New driver for Qualcomm 11be hw family
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220612/202206120434.r1vyzSDI-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.3.0
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
        # https://github.com/ammarfaizi2/linux-block/commit/f40abb4788a2a3868606a29d99583421e0874350
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block kvalo/ath/ath12k-bringup
        git checkout f40abb4788a2a3868606a29d99583421e0874350
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/wireless/ath/ath12k/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath12k/pci.c: In function 'ath12k_pci_init_qmi_ce_config':
>> drivers/net/wireless/ath/ath12k/pci.c:667:14: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration]
     667 |         if (!of_property_read_u32(ab->dev->of_node, "qrtr_instance_id", &instance_id))
         |              ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/of_property_read_u32 +667 drivers/net/wireless/ath/ath12k/pci.c

   655	
   656	static void ath12k_pci_init_qmi_ce_config(struct ath12k_base *ab)
   657	{
   658		struct ath12k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg;
   659		u32 instance_id = 0;
   660	
   661		cfg->tgt_ce = ab->hw_params.target_ce_config;
   662		cfg->tgt_ce_len = ab->hw_params.target_ce_count;
   663	
   664		cfg->svc_to_ce_map = ab->hw_params.svc_to_ce_map;
   665		cfg->svc_to_ce_map_len = ab->hw_params.svc_to_ce_map_len;
   666		ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id;
 > 667		if (!of_property_read_u32(ab->dev->of_node, "qrtr_instance_id", &instance_id))
   668			ab->qmi.service_ins_id = instance_id + ATH12K_QMI_WLFW_NODE_ID_BASE;
   669	}
   670	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-11 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 20:09 [ammarfaizi2-block:kvalo/ath/ath12k-bringup 29/59] drivers/net/wireless/ath/ath12k/pci.c:667:14: error: implicit declaration of function 'of_property_read_u32' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).