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 B8BEFC433F5 for ; Thu, 7 Apr 2022 11:58:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239441AbiDGMAq (ORCPT ); Thu, 7 Apr 2022 08:00:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239385AbiDGMAo (ORCPT ); Thu, 7 Apr 2022 08:00:44 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 230CC673F4 for ; Thu, 7 Apr 2022 04:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649332724; x=1680868724; h=date:from:to:cc:subject:message-id:mime-version; bh=9LfQLkzFDqa+ZSBfg1Cl/nig+jjzrV1xxvlVPXb1qbg=; b=cJTQubRo37g1Qd9fTfPUIeuN/Pb/LPSRmvlELpPpCpxt/TvKHuvPDWTn /X3WtSBeJ8xW/ZKipckHowiOMFEexDn2dcglABM2OtZT2aQoZKDXw/oNk Ku2RHMKDfwSMWruX+q6dcxhgqPgQjh+TXRiRBrAhwxS6Qphm8TikKaZEq uRwA536sFglcfCypjqWlhzQXLaLNSG8mTYexlkPxEULDVP64N4zUW2Mbq yiqqY9ZSEUk5FCM1kxSvnA5mcIAag9u+KkKMpH5U0clb38Zzx/LM6989b unrBsKTDrFt35GAVgl9Dz+laP+3v21Fy0RnyXwfFREJmlUlVVqpHCyD2F A==; X-IronPort-AV: E=McAfee;i="6200,9189,10309"; a="258899857" X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="258899857" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 04:58:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="506119372" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2022 04:58:42 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1ncQmf-0005OB-En; Thu, 07 Apr 2022 11:58:41 +0000 Date: Thu, 7 Apr 2022 19:58:22 +0800 From: kernel test robot To: Krzysztof Kozlowski Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [krzk-github:n/qcom-ufs-opp-v2 19/20] drivers/opp/core.c:898:26: error: no member named 'clk' in 'struct opp_table'; did you mean 'clks'? Message-ID: <202204071939.MyXGuJA4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/krzk/linux n/qcom-ufs-opp-v2 head: e10a6c68219eb9b5d79c2f447d8df698c38e5853 commit: ea240d6e8f1e8a618de2d76ff2e89a1cc3d39971 [19/20] pm wip config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220407/202204071939.MyXGuJA4-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6b306233f78876a1d197ed6e1f05785505de7c63) 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/krzk/linux/commit/ea240d6e8f1e8a618de2d76ff2e89a1cc3d39971 git remote add krzk-github https://github.com/krzk/linux git fetch --no-tags krzk-github n/qcom-ufs-opp-v2 git checkout ea240d6e8f1e8a618de2d76ff2e89a1cc3d39971 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/opp/core.c:898:26: error: no member named 'clk' in 'struct opp_table'; did you mean 'clks'? data->clk = (opp_table->clk ? opp_table->clks[0] : NULL); ^~~ clks drivers/opp/opp.h:212:15: note: 'clks' declared here struct clk **clks; ^ 1 error generated. vim +898 drivers/opp/core.c 875 876 static int _set_opp_custom(const struct opp_table *opp_table, 877 struct device *dev, struct dev_pm_opp *opp, 878 unsigned long freq) 879 { 880 struct dev_pm_set_opp_data *data = opp_table->set_opp_data; 881 struct dev_pm_opp *old_opp = opp_table->current_opp; 882 int size; 883 884 /* 885 * We support this only if dev_pm_opp_set_regulators() was called 886 * earlier. 887 */ 888 if (opp_table->sod_supplies) { 889 size = sizeof(*old_opp->supplies) * opp_table->regulator_count; 890 memcpy(data->old_opp.supplies, old_opp->supplies, size); 891 memcpy(data->new_opp.supplies, opp->supplies, size); 892 data->regulator_count = opp_table->regulator_count; 893 } else { 894 data->regulator_count = 0; 895 } 896 897 data->regulators = opp_table->regulators; > 898 data->clk = (opp_table->clk ? opp_table->clks[0] : NULL); 899 data->dev = dev; 900 data->old_opp.rate = old_opp->rate; 901 data->new_opp.rate = freq; 902 903 return opp_table->set_opp(data); 904 } 905 -- 0-DAY CI Kernel Test Service https://01.org/lkp