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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5FBC9C3DA4A for ; Tue, 20 Aug 2024 04:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Kr+dsIMzA+3GSguTvDkUck6hVfd+pahLOaSFCZaLtzA=; b=ERPWM7/sM7hWWm1CZipjLaXq6A U63TjZqA8vTrFqqIzX5nNDq/vdmiNsUYYQzuIGasAjFSAXC6VP1mD+4rw5Eu0fYq5mTdra+HwfSq9 Bs5h7/ZR8y2F+P47swZhcHjY0sj73XWNln0L1mcdKo8aod9+5J1z40v9hmOZppLW95ER1Y/P2Rz/m /mwVRVm8DKFKltOphCruQScuMoAJwJxbGAwu+LwCaEGxwK2FBVZxGARJo3BB/BDdCdiy3n+NDeMQE BQ3dybIZmnZEKOByh26pa9dCjgripvRAmcq2KaQo+KidCMYlCiTQliwug7IppwKt4Hii0HrZRyxxy jP+FhZCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgGSY-00000003lZi-0Dla; Tue, 20 Aug 2024 04:27:06 +0000 Received: from mgamail.intel.com ([198.175.65.16]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgGRq-00000003lVQ-3YCr for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 04:26:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724127983; x=1755663983; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EPhEMjY7bJqv3OgXaq6MdbBJoS9xZMpbdW6dSGjRQqs=; b=IQ6nZRxIvFPeUBTUdMOqYydZvUQfNm8WjwQQggm1tBpGJbfEiHfmbQxe EK037MtWsp+wYE06bo1wKzm3CZUplk45Uz3G1iSTNMWRfNhdrtFc4RcNY 2JavLNxSlJMokNJ1GnzMves2bQBCfUPlNy22QmXeuEaTXAi8l4ZHcUJ+N 6zwWO2npLZX5iJ4Ya75ePo1THguMWtrvCu2b7Fn1tMZFzHXbV+wH+kEFE tUWf3KciG2MC0a3uQmzJLkMdEk5QNPELLPkDk27AU2Nzw+8DKwMzhnhXd TTlnyGGVTnHcgodPOdg30MSFx06FlaOzGNFtzMSwdTMD+t3t29FBGOylI w==; X-CSE-ConnectionGUID: NYcdIFcURRe6f0Xx8ItPIQ== X-CSE-MsgGUID: XM9pHmptQtKXPptxtIC7nw== X-IronPort-AV: E=McAfee;i="6700,10204,11169"; a="22543922" X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="22543922" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2024 21:26:21 -0700 X-CSE-ConnectionGUID: 5fcy/7axQQSIx4VehcG9EA== X-CSE-MsgGUID: fXqC33NVTqWsQaFZeFxYKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,161,1719903600"; d="scan'208";a="60284429" Received: from lkp-server01.sh.intel.com (HELO 9a732dc145d3) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 19 Aug 2024 21:26:15 -0700 Received: from kbuild by 9a732dc145d3 with local (Exim 4.96) (envelope-from ) id 1sgGRh-0009iQ-1k; Tue, 20 Aug 2024 04:26:13 +0000 Date: Tue, 20 Aug 2024 12:25:45 +0800 From: kernel test robot To: Chris Morgan , linux-sunxi@lists.linux.dev Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, quentin.schulz@free-electrons.com, mripard@kernel.org, tgamblin@baylibre.com, aidanmacdonald.0x0@gmail.com, u.kleine-koenig@pengutronix.de, lee@kernel.org, samuel@sholland.org, jernej.skrabec@gmail.com, sre@kernel.org, wens@csie.org, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, lars@metafoo.de, jic23@kernel.org, jonathan.cameron@huawei.com, Chris Morgan , Philippe Simons Subject: Re: [PATCH V3 14/15] power: supply: axp20x_battery: add support for AXP717 Message-ID: <202408201228.Hee4eSYl-lkp@intel.com> References: <20240819164619.556309-15-macroalpha82@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240819164619.556309-15-macroalpha82@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_212622_991074_042366B2 X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Chris, kernel test robot noticed the following build errors: [auto build test ERROR on sre-power-supply/for-next] [also build test ERROR on jic23-iio/togreg lee-mfd/for-mfd-next linus/master v6.11-rc4 next-20240819] [cannot apply to lee-mfd/for-mfd-fixes] [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/Chris-Morgan/iio-adc-axp20x_adc-Add-adc_en1-and-adc_en1-to-axp_data/20240820-005144 base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next patch link: https://lore.kernel.org/r/20240819164619.556309-15-macroalpha82%40gmail.com patch subject: [PATCH V3 14/15] power: supply: axp20x_battery: add support for AXP717 config: i386-buildonly-randconfig-005-20240820 (https://download.01.org/0day-ci/archive/20240820/202408201228.Hee4eSYl-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240820/202408201228.Hee4eSYl-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/202408201228.Hee4eSYl-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/power/supply/axp20x_battery.c:266:9: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | *val = FIELD_GET(AXP717_ICC_CHARGER_LIM_MASK, *val) * | ^ drivers/power/supply/axp20x_battery.c:439:17: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | val->intval = FIELD_GET(AXP717_PWR_OP_BATT_PRESENT, reg); | ^ 2 errors generated. vim +/FIELD_GET +266 drivers/power/supply/axp20x_battery.c 256 257 static int axp717_get_constant_charge_current(struct axp20x_batt_ps *axp, 258 int *val) 259 { 260 int ret; 261 262 ret = regmap_read(axp->regmap, AXP717_ICC_CHG_SET, val); 263 if (ret) 264 return ret; 265 > 266 *val = FIELD_GET(AXP717_ICC_CHARGER_LIM_MASK, *val) * 267 axp->data->ccc_scale; 268 269 return 0; 270 } 271 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki