public inbox for [email protected]
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Vasanthakumar Thiagarajan <[email protected]>
Cc: [email protected],
	GNU/Weeb Mailing List <[email protected]>,
	[email protected], Kalle Valo <[email protected]>,
	Bhagavathi Perumal S <[email protected]>,
	Karthikeyan Periyasamy <[email protected]>,
	Pradeep Kumar Chitrapu <[email protected]>,
	P Praneesh <[email protected]>,
	Ramya Gnanasekar <[email protected]>,
	Sriram R <[email protected]>
Subject: [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'
Date: Sun, 12 Jun 2022 04:09:37 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

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/[email protected]/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 <[email protected]>

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

                 reply	other threads:[~2022-06-11 20:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox