Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp208578rdb; Mon, 18 Sep 2023 12:30:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2ob6pBK6klwhRr5y7SKslmjSorpbCtBCRQE9XdDc9Hh2/1w4lt1rUdTwy2g+y9BSvHrCO X-Received: by 2002:a17:902:6bc2:b0:1c4:6028:fd21 with SMTP id m2-20020a1709026bc200b001c46028fd21mr6485509plt.62.1695065414177; Mon, 18 Sep 2023 12:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695065414; cv=none; d=google.com; s=arc-20160816; b=Na6ZJGiLlhq61IxqexhtUBCtN9AW5jtUro5eWp+kfnyiccJMdYjuP10fjbM1SS/v5T NKDswe+Eaww7lbZ/IBxJCTd28QE96lWPaE9V93Wh4u3sFyKjnY4Ar81cslxpycO20PLH mRSnpL3lhpyKA7P10kJzo2KUytBuychyBYfG4fkhjF71Gkcjd2FNVplIt29n4ferKdhT /+NSyDIk4Weslg5CILCa3i+bjbPXGImd7FZpJQXj1mi30tqxOyRYS9WHozMFwWtIR5jh mB7GKcAmDJXYrxEBm1WDkEl/XlVd+m+0KiLDFe+bsGvxVEhQLmKZT44l9n3HcfFQrsVZ iv2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=B49Eujr53Kjl4iGOY8feHkENOM5iXtLNfezElzm3KCg=; fh=JdLnAwR1ETvVj8T0Wk/jzOmlBaqqHU8T0tF+az+4lZs=; b=zhb4PL/gXs8nF70UtVhAz9ls7sexmsA667GIQF4QHNQTht+WmWn+ognI6Kwg79nH8y UOheoosoqSWvOLCMHuDkoyWMZLlRCPQJfneIfP68x6OprFe+haA4VTUFFZyYtFIn5ymh 8qgobGRCY/oiN/naOWK5zuF6jL1p6pBpNQJcdMVC26vAMnEidXw8Iwvf96GXGs/Qcq8Z SUBrcqi9LPQR+RkLVcVzV6616X3CBSSJ50Q3pxx7/am3MZ22bMvF5ja4gPy8Ds3UgYuz tK4jvUGhDFGj2QL5qB5q1TIQQHAf0gN2U8lrZfDhJdC8XL1VO+OtEIIH2hqO88NsCgvH ZXYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jHmVXcnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id km8-20020a17090327c800b001bba8f79ad0si8296496plb.109.2023.09.18.12.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 12:30:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jHmVXcnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AF1898122281; Mon, 18 Sep 2023 10:08:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbjIRRIe (ORCPT + 99 others); Mon, 18 Sep 2023 13:08:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231438AbjIRRI0 (ORCPT ); Mon, 18 Sep 2023 13:08:26 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6DB10C8; Mon, 18 Sep 2023 10:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695056884; x=1726592884; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=R0IYlcHB+mDxKxCzHImBnbsDf3CITkOOK5I/jc4Vt4g=; b=jHmVXcnHxtmp9g7cDHL/OkxMyvebYAO6oquBDrkJo/a+KVVdUPtx3o4J MkVxl3S9cxl7Cw5d2qJb8JI3a65E+VPflJvNO+0VsWgvki9hFLNCiaSba jC+xQpNXl1k8aT95Bhb5M2muNoIEtY3hIzw0rE6KrlLH6Zz+fRQ2ljPp0 Q+z8C4FtEwY5cEi6NWyMwHiriy3qHJo3YdqzMX4ZIvcIzxFyCNZfOpSsY asldT74jT9fkq2KuYrs3kGhzAXk6jmhyWjmR6hVIsURsKZKKn0f38xiZH diUwLCbpjKWkYzycxjq4BIbH9mR2SrwBRF/T3lXD9m4XXeNu2jRpJ2vhc g==; X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="377037214" X-IronPort-AV: E=Sophos;i="6.02,157,1688454000"; d="scan'208";a="377037214" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 10:08:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="775202677" X-IronPort-AV: E=Sophos;i="6.02,157,1688454000"; d="scan'208";a="775202677" Received: from lkp-server02.sh.intel.com (HELO 9ef86b2655e5) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 18 Sep 2023 10:07:58 -0700 Received: from kbuild by 9ef86b2655e5 with local (Exim 4.96) (envelope-from ) id 1qiHj2-0006J6-1j; Mon, 18 Sep 2023 17:07:56 +0000 Date: Tue, 19 Sep 2023 01:07:42 +0800 From: kernel test robot To: Elaine Zhang , mturquette@baylibre.com, sboyd@kernel.org, kever.yang@rock-chips.com, heiko@sntech.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, huangtao@rock-chips.com, xxx@rock-chips.com, xf@rock-chips.com Subject: Re: [PATCH v1 4/8] clk: rockchip: Avoid __clk_lookup() calls Message-ID: <202309190032.1NPAySNx-lkp@intel.com> References: <20230918073151.7660-5-zhangqing@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230918073151.7660-5-zhangqing@rock-chips.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 10:08:44 -0700 (PDT) Hi Elaine, kernel test robot noticed the following build warnings: [auto build test WARNING on rockchip/for-next] [also build test WARNING on clk/clk-next linus/master v6.6-rc2 next-20230918] [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/Elaine-Zhang/clk-clk-fractional-divider-Export-clk_fractional_divider_general_approximation-API/20230918-154652 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next patch link: https://lore.kernel.org/r/20230918073151.7660-5-zhangqing%40rock-chips.com patch subject: [PATCH v1 4/8] clk: rockchip: Avoid __clk_lookup() calls config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230919/202309190032.1NPAySNx-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230919/202309190032.1NPAySNx-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309190032.1NPAySNx-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/clk/rockchip/clk-rk3328.c:13: >> drivers/clk/rockchip/clk-rk3328.c:160:7: warning: 'mux_armclk_p' defined but not used [-Wunused-const-variable=] 160 | PNAME(mux_armclk_p) = { "apll_core", | ^~~~~~~~~~~~ drivers/clk/rockchip/clk.h:512:43: note: in definition of macro 'PNAME' 512 | #define PNAME(x) static const char *const x[] __initconst | ^ -- In file included from drivers/clk/rockchip/clk-rk3588.c:13: >> drivers/clk/rockchip/clk-rk3588.c:447:7: warning: 'mux_armclkb23_p' defined but not used [-Wunused-const-variable=] 447 | PNAME(mux_armclkb23_p) = { "xin24m", "gpll", "b1pll",}; | ^~~~~~~~~~~~~~~ drivers/clk/rockchip/clk.h:512:43: note: in definition of macro 'PNAME' 512 | #define PNAME(x) static const char *const x[] __initconst | ^ >> drivers/clk/rockchip/clk-rk3588.c:446:7: warning: 'mux_armclkb01_p' defined but not used [-Wunused-const-variable=] 446 | PNAME(mux_armclkb01_p) = { "xin24m", "gpll", "b0pll",}; | ^~~~~~~~~~~~~~~ drivers/clk/rockchip/clk.h:512:43: note: in definition of macro 'PNAME' 512 | #define PNAME(x) static const char *const x[] __initconst | ^ >> drivers/clk/rockchip/clk-rk3588.c:445:7: warning: 'mux_armclkl_p' defined but not used [-Wunused-const-variable=] 445 | PNAME(mux_armclkl_p) = { "xin24m", "gpll", "lpll" }; | ^~~~~~~~~~~~~ drivers/clk/rockchip/clk.h:512:43: note: in definition of macro 'PNAME' 512 | #define PNAME(x) static const char *const x[] __initconst | ^ vim +/mux_armclk_p +160 drivers/clk/rockchip/clk-rk3328.c fe3511ad8a1cf6 Elaine Zhang 2016-12-29 144 fe3511ad8a1cf6 Elaine Zhang 2016-12-29 145 PNAME(mux_2plls_p) = { "cpll", "gpll" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 146 PNAME(mux_gpll_cpll_p) = { "gpll", "cpll" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 147 PNAME(mux_cpll_gpll_apll_p) = { "cpll", "gpll", "apll" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 148 PNAME(mux_2plls_xin24m_p) = { "cpll", "gpll", "xin24m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 149 PNAME(mux_2plls_hdmiphy_p) = { "cpll", "gpll", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 150 "dummy_hdmiphy" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 151 PNAME(mux_4plls_p) = { "cpll", "gpll", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 152 "dummy_hdmiphy", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 153 "usb480m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 154 PNAME(mux_2plls_u480m_p) = { "cpll", "gpll", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 155 "usb480m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 156 PNAME(mux_2plls_24m_u480m_p) = { "cpll", "gpll", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 157 "xin24m", "usb480m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 158 fe3511ad8a1cf6 Elaine Zhang 2016-12-29 159 PNAME(mux_ddrphy_p) = { "dpll", "apll", "cpll" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 @160 PNAME(mux_armclk_p) = { "apll_core", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 161 "gpll_core", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 162 "dpll_core", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 163 "npll_core"}; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 164 PNAME(mux_hdmiphy_p) = { "hdmi_phy", "xin24m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 165 PNAME(mux_usb480m_p) = { "usb480m_phy", fe3511ad8a1cf6 Elaine Zhang 2016-12-29 166 "xin24m" }; fe3511ad8a1cf6 Elaine Zhang 2016-12-29 167 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki