[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206230637.ojZSI1do-lkp@intel.com>
Date: Thu, 23 Jun 2022 06:42:25 +0800
From: kernel test robot <lkp@...el.com>
To: Kalle Valo <kvalo@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org
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
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/202206230637.ojZSI1do-lkp@intel.com/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 <lkp@...el.com>
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 <quic_vthiagar@...cinc.com>
:::::: CC: Kalle Valo <quic_kvalo@...cinc.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists