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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59E90C02198 for ; Wed, 12 Feb 2025 08:57:41 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4YtBz76jKQz2y6G; Wed, 12 Feb 2025 19:57:39 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1739350659; cv=none; b=BBYeQ/4WnG4fP4FJ+14tBDcb+Draj4G+Z8V6iovGBZ4y1rrZfZg+CMtIAPD7jk0yW1L23MPx3D12peTuWZEOskE4ovwEAUOfxJfYEE/+7fUkP2p4iJYAEHWll3sMTN54ZaMgUgweIau64JxhVbhRy20ZmehKHWw/sVLp+YStGd5Lr6fQYVahJpdNhrHt8dM79J27O9wlQoIf7V+k/0VahIirxD79ZDZhGKLH3UC/QK52Foo0kw6omsbvtgFJoInOEjUNCUbvh1ZD9L8n1GODNvRVnphLWN78+v7duqprzDkiJReomGox5qvaqYDwXN6Nb/kX3Jl3owWnMsKLOMHCNg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1739350659; c=relaxed/relaxed; bh=f0q5ByYJHjIS50jAqmBRdmKL6LqId5dn8H8S6Ww7BZM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eQ5SwvnnnGA/AGCHxbRJ5JCK84DTyGlefvtXmHMNAiZfqoQRkVGHf/WJrKW6pOrsZ0OdsRYeywHwaE2t7brzUIFKxhAdjEgkpHhFM7oTvSCr0KWIPPA4Mkmd4wTFycjNHV93PcZD+3f2uPxuhzfyVZVUcTIaENZarxKGOnQhn6Zw9oFB3UTnhZUvi8EfmbS6EcbNt4O+vXjvIDlFJPU/7TWXtklcSDPbri8A2sr5BxoPRKRTElo0J1Q4T2aY9p6SmWzKaATEHPI+DlIIiB9eBFhsjw+DWUF2WPIvwvwWhStYqsvo09GNi6IPPF08dYxQQOr8HSLKGEfnrH6Dd/YvOw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=intel.com; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=M17/bDkx; dkim-atps=neutral; spf=pass (client-ip=192.198.163.11; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) smtp.mailfrom=intel.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=M17/bDkx; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=192.198.163.11; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4YtBz55PkHz2xmS for ; Wed, 12 Feb 2025 19:57:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739350658; x=1770886658; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vX6/CDrLsi+PiLy4kwaL8vsmQecJaGwqitg7vNz+psg=; b=M17/bDkxe1ArdEsZjYtEWQ3nqAnZyvvFrnqyBIsgcMuAcIJqmwO1mIDo 0+GswNyklks6nm2jrfJL+8u2NBgANlon9afr6S5jor1V8IiaHV9QHCHYE wbH3juiMnnUrfILZry2WRwnRJLxHCuM1Xgkt78tTV3Dns6W6pzk75HdnM TMJRh6w3TE1FswG0CehhSHrweFI5u4UWpoG5qh/ZB7PoW1ejVXc6OMXVD 4eQ30xJyd8iS2oWju/8O5v8Gz8LtQikErl9k03Msv2TWFPv0/UXm00umV Ttq01lb6UMzPPWRQHx3p9O3pEK0g1igdXt13L1quVRFZP7m3Zfo3Qz0HW g==; X-CSE-ConnectionGUID: zQjbUQZBTfm1fz1gFQpKUw== X-CSE-MsgGUID: dttfPAMqSD2jlM0mBVBTrA== X-IronPort-AV: E=McAfee;i="6700,10204,11342"; a="50630745" X-IronPort-AV: E=Sophos;i="6.13,279,1732608000"; d="scan'208";a="50630745" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2025 00:57:33 -0800 X-CSE-ConnectionGUID: dLQFfP+/S8+lS5adRI8UFQ== X-CSE-MsgGUID: gpKNy4SXS6Kp2XEwreVocg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,279,1732608000"; d="scan'208";a="117778390" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 12 Feb 2025 00:57:29 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1ti8Yg-0015P7-1H; Wed, 12 Feb 2025 08:57:26 +0000 Date: Wed, 12 Feb 2025 16:57:10 +0800 From: kernel test robot To: Ryan Chen , Michael Turquette , Stephen Boyd , Philipp Zabel , Joel Stanley , Andrew Jeffery , linux-clk@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v8 3/3] clk: aspeed: add AST2700 clock driver Message-ID: <202502121624.f9xpltGE-lkp@intel.com> References: <20250210085004.1898895-4-ryan_chen@aspeedtech.com> X-Mailing-List: linux-aspeed@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250210085004.1898895-4-ryan_chen@aspeedtech.com> Hi Ryan, kernel test robot noticed the following build errors: [auto build test ERROR on clk/clk-next] [also build test ERROR on pza/reset/next linus/master v6.14-rc2] [cannot apply to pza/imx-drm/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/Ryan-Chen/dt-binding-clock-ast2700-modify-soc0-1-clock-define/20250210-165421 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next patch link: https://lore.kernel.org/r/20250210085004.1898895-4-ryan_chen%40aspeedtech.com patch subject: [PATCH v8 3/3] clk: aspeed: add AST2700 clock driver config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20250212/202502121624.f9xpltGE-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250212/202502121624.f9xpltGE-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/202502121624.f9xpltGE-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/swab.h:5, from include/uapi/linux/byteorder/big_endian.h:14, from include/linux/byteorder/big_endian.h:5, from arch/m68k/include/uapi/asm/byteorder.h:5, from include/asm-generic/bitops/le.h:6, from arch/m68k/include/asm/bitops.h:566, from include/linux/bitops.h:68, from include/linux/of.h:15, from include/linux/clk-provider.h:9, from drivers/clk/clk-ast2700.c:7: drivers/clk/clk-ast2700.c: In function 'ast2700_soc1_configure_i3c_clk': >> drivers/clk/clk-ast2700.c:981:32: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration] 981 | FIELD_PREP(SCU1_CLK_I3C_DIV_MASK, | ^~~~~~~~~~ include/uapi/linux/swab.h:118:38: note: in definition of macro '__swab32' 118 | (__u32)(__builtin_constant_p(x) ? \ | ^ include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' 88 | #define cpu_to_le32 __cpu_to_le32 | ^~~~~~~~~~~~~ arch/m68k/include/asm/io_mm.h:373:26: note: in expansion of macro 'out_le32' 373 | #define writel(val,addr) out_le32((addr),(val)) | ^~~~~~~~ drivers/clk/clk-ast2700.c:979:17: note: in expansion of macro 'writel' 979 | writel((readl(clk_ctrl->base + SCU1_CLK_SEL2) & | ^~~~~~ drivers/clk/clk-ast2700.c: At top level: drivers/clk/clk-ast2700.c:369:37: warning: 'd_clk_sels' defined but not used [-Wunused-const-variable=] 369 | static const struct clk_parent_data d_clk_sels[] = { | ^~~~~~~~~~ drivers/clk/clk-ast2700.c:353:37: warning: 'soc1_ahb' defined but not used [-Wunused-const-variable=] 353 | static const struct clk_parent_data soc1_ahb[] = { | ^~~~~~~~ drivers/clk/clk-ast2700.c:349:37: warning: 'uart16clk' defined but not used [-Wunused-const-variable=] 349 | static const struct clk_parent_data uart16clk[] = { | ^~~~~~~~~ drivers/clk/clk-ast2700.c:345:37: warning: 'uart15clk' defined but not used [-Wunused-const-variable=] 345 | static const struct clk_parent_data uart15clk[] = { | ^~~~~~~~~ drivers/clk/clk-ast2700.c:341:37: warning: 'uart14clk' defined but not used [-Wunused-const-variable=] 341 | static const struct clk_parent_data uart14clk[] = { | ^~~~~~~~~ drivers/clk/clk-ast2700.c:337:37: warning: 'uart13clk' defined but not used [-Wunused-const-variable=] 337 | static const struct clk_parent_data uart13clk[] = { | ^~~~~~~~~ drivers/clk/clk-ast2700.c:237:37: warning: 'soc0_ahb' defined but not used [-Wunused-const-variable=] 237 | static const struct clk_parent_data soc0_ahb[] = { | ^~~~~~~~ drivers/clk/clk-ast2700.c:209:37: warning: 'soc0_mpll_div8' defined but not used [-Wunused-const-variable=] 209 | static const struct clk_parent_data soc0_mpll_div8[] = { | ^~~~~~~~~~~~~~ vim +/FIELD_PREP +981 drivers/clk/clk-ast2700.c 974 975 static void ast2700_soc1_configure_i3c_clk(struct ast2700_clk_ctrl *clk_ctrl) 976 { 977 if (readl(clk_ctrl->base + SCU1_REVISION_ID) & REVISION_ID) 978 /* I3C 250MHz = HPLL/4 */ 979 writel((readl(clk_ctrl->base + SCU1_CLK_SEL2) & 980 ~SCU1_CLK_I3C_DIV_MASK) | > 981 FIELD_PREP(SCU1_CLK_I3C_DIV_MASK, 982 SCU1_CLK_I3C_DIV(4)), 983 clk_ctrl->base + SCU1_CLK_SEL2); 984 } 985 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki