public inbox for [email protected]
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Kalle Valo <[email protected]>
Cc: [email protected], [email protected],
	GNU/Weeb Mailing List <[email protected]>,
	[email protected]
Subject: [ammarfaizi2-block:kvalo/ath/ath12k-bringup-extras 2/3] drivers/net/wireless/ath/ath12k/pci.c:678:7: error: call to undeclared function 'of_property_read_u32'; ISO C99 and later do not support implicit function declarations
Date: Thu, 23 Jun 2022 06:42:25 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

Hi Kalle,

First bad commit (maybe != root cause):

tree:   https://github.com/ammarfaizi2/linux-block kvalo/ath/ath12k-bringup-extras
head:   cc108fac9c287f5624daedca923743587adcafd1
commit: f6fc8dfbdd4f8aa245e4d22691f7ae3057a01dbf [2/3] Merge ath-next into ath12k-bringup
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220623/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project af6d2a0b6825e71965f3e2701a63c239fa0ad70f)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/f6fc8dfbdd4f8aa245e4d22691f7ae3057a01dbf
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block kvalo/ath/ath12k-bringup-extras
        git checkout f6fc8dfbdd4f8aa245e4d22691f7ae3057a01dbf
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

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:678:7: error: call to undeclared function 'of_property_read_u32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
           if (!of_property_read_u32(ab->dev->of_node, "qrtr_instance_id", &instance_id))
                ^
   1 error generated.


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

f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  666  
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  667  static void ath12k_pci_init_qmi_ce_config(struct ath12k_base *ab)
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  668  {
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  669  	struct ath12k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  670  	u32 instance_id = 0;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  671  
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  672  	cfg->tgt_ce = ab->hw_params.target_ce_config;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  673  	cfg->tgt_ce_len = ab->hw_params.target_ce_count;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  674  
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  675  	cfg->svc_to_ce_map = ab->hw_params.svc_to_ce_map;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  676  	cfg->svc_to_ce_map_len = ab->hw_params.svc_to_ce_map_len;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  677  	ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01 @678  	if (!of_property_read_u32(ab->dev->of_node, "qrtr_instance_id", &instance_id))
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  679  		ab->qmi.service_ins_id = instance_id + ATH12K_QMI_WLFW_NODE_ID_BASE;
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  680  }
f40abb4788a2a3 Vasanthakumar Thiagarajan 2022-02-01  681  

:::::: The code at line 678 was first introduced by commit
:::::: f40abb4788a2a3868606a29d99583421e0874350 ath12k: New driver for Qualcomm 11be hw family

:::::: TO: Vasanthakumar Thiagarajan <[email protected]>
:::::: CC: Kalle Valo <[email protected]>

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

                 reply	other threads:[~2022-06-22 22:42 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] \
    /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