From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA552C77B7C for ; Fri, 12 May 2023 19:40:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238987AbjELTkC (ORCPT ); Fri, 12 May 2023 15:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238859AbjELTkB (ORCPT ); Fri, 12 May 2023 15:40:01 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E8E2108; Fri, 12 May 2023 12:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683920400; x=1715456400; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oLlJPch9Ytj6zBQioqD0gTcP99Inly/ST53TUTG0mAA=; b=iCixv7495tlWeVsodeh9ynI0yBr8UmBX5xeIRq294TlXxFMiOf4yUzTS gME9gsSS9vyESbmwsMbmGY5d/Y6/UHwp7Azwxr1AD0B8k0Ya5HzFlJFWX KbQGVda+Wa9cJB8O027W3QiYF58D5PINYHUtoer2gV2Wc8HP/aNnAFL26 4uyu1TdtVjZ9OOs4EhOw1yFi2uoY+nsBS4pQkHc/9x+CBTEOVKSl3IGWs 0mE8Vo/22YipzFCzaw1Qe56k3ZvekM8Ck1/kmCDjgbc/0+vn7zZFwBIBF IC7yUjwQ/HCJFRhDWAVrniEyWy9NDB8TrkLiBhHJbBlFNwEApb5SvuMIF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="335394077" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="335394077" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 12:39:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="694351036" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="694351036" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 12 May 2023 12:39:55 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxYcM-00054a-2V; Fri, 12 May 2023 19:39:54 +0000 Date: Sat, 13 May 2023 03:39:09 +0800 From: kernel test robot To: Komal Bajaj , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Conor Dooley Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Komal Bajaj , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 06/10] soc: qcom: Add LLCC support for multi channel DDR Message-ID: <202305130303.wwdZb5hy-lkp@intel.com> References: <20230512122134.24339-7-quic_kbajaj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512122134.24339-7-quic_kbajaj@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Komal, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.4-rc1 next-20230512] [cannot apply to robh/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Komal-Bajaj/nvmem-qfprom-Add-support-for-secure-reading/20230512-202430 base: linus/master patch link: https://lore.kernel.org/r/20230512122134.24339-7-quic_kbajaj%40quicinc.com patch subject: [PATCH v3 06/10] soc: qcom: Add LLCC support for multi channel DDR config: riscv-randconfig-r042-20230509 (https://download.01.org/0day-ci/archive/20230513/202305130303.wwdZb5hy-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b0fb98227c90adf2536c9ad644a74d5e92961111) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/52808ee1c4720767ab330b371d356ffbd8fe7235 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Komal-Bajaj/nvmem-qfprom-Add-support-for-secure-reading/20230512-202430 git checkout 52808ee1c4720767ab330b371d356ffbd8fe7235 # 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=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/soc/qcom/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305130303.wwdZb5hy-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/soc/qcom/llcc-qcom.c:951:8: error: call to undeclared function 'nvmem_cell_read_u8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = nvmem_cell_read_u8(&pdev->dev, "multi_chan_ddr", cfg_index); ^ 1 error generated. vim +/nvmem_cell_read_u8 +951 drivers/soc/qcom/llcc-qcom.c 946 947 static int qcom_llcc_get_cfg_index(struct platform_device *pdev, u8 *cfg_index) 948 { 949 int ret = 0; 950 > 951 ret = nvmem_cell_read_u8(&pdev->dev, "multi_chan_ddr", cfg_index); 952 if (ret == -ENOENT) { 953 *cfg_index = 0; 954 return 0; 955 } 956 957 return ret; 958 } 959 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests