From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gnuweeb.org (Postfix) with ESMTPS id B77617FE49 for ; Wed, 22 Jun 2022 22:42:40 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=VefNOdu5; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655937760; x=1687473760; h=date:from:to:cc:subject:message-id:mime-version; bh=/Aaew8nRjRBHQPVL+GtCxzvJIjfYGF2f4VfBi1VtCUU=; b=VefNOdu5oKnHUEowbG6uCYj+jBLWAZKgk/QNDseKkJ5+PY0XJ8+QwkWP YEcjKM/KpHur9MnMO2FaiMjbSOjJdSFbz+vWfkD+PiZJMbXiVniPqGaph aYJjXmlqDPT6KG/7JLuElp0PRT6rDdDVh1O/FuaqZv7V5J/Q6LmB7hCTT /cHHNwt4qvqt1HQM/opGdwyGR/a7f9EnUIilmqj5aqGX41jLteZdWV3KX zphTldcCpMhG3Hv7RIVASI2qFcZ7qUh+pcW6fPxI0m6pICyryi1TvwNZu pta6xRZDLHUxQQwmrG0mnCtiC7ySS3PupMuB2ApceRQR3XcvC7/exO8Uv Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="342248973" X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="342248973" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 15:42:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,215,1650956400"; d="scan'208";a="585918516" Received: from lkp-server02.sh.intel.com (HELO a67cc04a5eeb) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 22 Jun 2022 15:42:37 -0700 Received: from kbuild by a67cc04a5eeb with local (Exim 4.95) (envelope-from ) id 1o493U-0001ls-Co; Wed, 22 Jun 2022 22:42:36 +0000 Date: Thu, 23 Jun 2022 06:42:25 +0800 From: kernel test robot To: Kalle Valo Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.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 Message-ID: <202206230637.ojZSI1do-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: 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 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 :::::: CC: Kalle Valo -- 0-DAY CI Kernel Test Service https://01.org/lkp