lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 12 Jun 2022 04:09:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vasanthakumar Thiagarajan <quic_vthiagar@...cinc.com>
Cc:     kbuild-all@...ts.01.org,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org, Kalle Valo <quic_kvalo@...cinc.com>,
        Bhagavathi Perumal S <quic_bperumal@...cinc.com>,
        Karthikeyan Periyasamy <quic_periyasa@...cinc.com>,
        Pradeep Kumar Chitrapu <quic_pradeepc@...cinc.com>,
        P Praneesh <quic_ppranees@...cinc.com>,
        Ramya Gnanasekar <quic_rgnanase@...cinc.com>,
        Sriram R <quic_srirrama@...cinc.com>
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'

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ