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 94BDEC54731 for ; Tue, 27 Aug 2024 21:33:42 +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=hTp9F6iBDSPTcdoWIZgRE9cL1VFN+cb/sPvgeMCmDUI=; b=ZwdrrDxsMXjdbF75EcGeqeQw4E lMaa1bezK+vaC2ZBu4FUg5WkFfkMH8ro1jcHVMVl5heKn+NmT1KJKXTg2ZvNuJkFXX/aJXo/0vJBh cjt44ATQHD6AdtUswNxajcyYv86q/oj5Qeha+9Lzll4BP2uKwovP4Rh5jraB99An2tXimkkQJC1c+ PfFAFP83bICULENT5LtTdqI3UaO9PwqvIvs4vBey0eJFSjtOubiE8w5Q7FHuc4yZfPrZnyaR/YWHe 6nXct7ONqJ7glWTnM9CI0Q7xTHQVm+j77MPCHdly7+81FPqA7qQ7sGlFLHm1BuAKS2czFmNmw/f/G JLw1I1FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj3oi-0000000CuEC-3v16; Tue, 27 Aug 2024 21:33:32 +0000 Received: from mgamail.intel.com ([198.175.65.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj3na-0000000CtxW-1dDV for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 21:32:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724794342; x=1756330342; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mQ6qbHzgB38r7y4pyZPdkblRm04jYvDuwRoZqtAcNok=; b=DIfnqS13cTyyofmBS+P5yFZ+I73zNrtx6seTrGOuFQ/p9H0Wcz8dkuB5 wOqSpvzn2aD6f/naF/RS2pLoUyuEHgaEgANpMu1DvHMAGb4FJ2ORcleUJ sOHfW/egwtvqLFOv4ESUv3uHyF8039btv7zrdCRdbbYblnhQbdPRSL5/R TOq75p2fik63iBsF+gOn1UflVmJCxh9eFaaFlSIMCo3O3lDi+XwMBMKVs tFnqwkh0WEIlyFj9RpFTnxSO26ijvAozyxBC94iru130w46k/+++SAWeJ BWrNQy3WxhZ7QHjG5GENyoz7aPMRnF3t22VseXAPX2R6SMdcjqu+Yi0yP g==; X-CSE-ConnectionGUID: QmV/Hf3ASW2FLN7nYHIz0A== X-CSE-MsgGUID: Jw7dy8rfRLSp/SUm8NY5sA== X-IronPort-AV: E=McAfee;i="6700,10204,11177"; a="23472913" X-IronPort-AV: E=Sophos;i="6.10,181,1719903600"; d="scan'208";a="23472913" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2024 14:32:20 -0700 X-CSE-ConnectionGUID: SZ7GQYnnRDKEUTZXIx+mgQ== X-CSE-MsgGUID: HgirASMTTQmt+plh8jjpQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,181,1719903600"; d="scan'208";a="67705584" Received: from lkp-server01.sh.intel.com (HELO 9a732dc145d3) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 27 Aug 2024 14:32:17 -0700 Received: from kbuild by 9a732dc145d3 with local (Exim 4.96) (envelope-from ) id 1sj3nT-000K6G-0P; Tue, 27 Aug 2024 21:32:15 +0000 Date: Wed, 28 Aug 2024 05:31:24 +0800 From: kernel test robot To: David Leonard , linux-arm-kernel@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 4/6] pinctrl: ls1046a: Add pinctrl driver support Message-ID: <202408280532.YGyLCCNL-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_143222_669293_1D480A8D X-CRM114-Status: GOOD ( 14.49 ) 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 David, kernel test robot noticed the following build warnings: [auto build test WARNING on linusw-pinctrl/devel] [also build test WARNING on linusw-pinctrl/for-next shawnguo/for-next arm64/for-next/core kvmarm/next rockchip/for-next soc/for-next linus/master v6.11-rc5 next-20240827] [cannot apply to arm/for-next arm/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/David-Leonard/arm64-dts-ls1012a-add-pinctrl-node/20240827-104431 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/c0ecf4f4-94f1-2efd-b05b-fc117c62e516%40digi.com patch subject: [PATCH 4/6] pinctrl: ls1046a: Add pinctrl driver support config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240828/202408280532.YGyLCCNL-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240828/202408280532.YGyLCCNL-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/202408280532.YGyLCCNL-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pinctrl/freescale/pinctrl-ls1046a.c: In function 'ls1046a_pinctrl_probe': >> drivers/pinctrl/freescale/pinctrl-ls1046a.c:199:58: warning: passing argument 2 of 'devm_pinctrl_register_and_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | ret = devm_pinctrl_register_and_init(&pdev->dev, &ls1046a_pinctrl_desc, | ^~~~~~~~~~~~~~~~~~~~~ In file included from drivers/pinctrl/freescale/pinctrl-ls1046a.c:10: include/linux/pinctrl/pinctrl.h:180:54: note: expected 'struct pinctrl_desc *' but argument is of type 'const struct pinctrl_desc *' 180 | struct pinctrl_desc *pctldesc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ vim +199 drivers/pinctrl/freescale/pinctrl-ls1046a.c 179 180 static int ls1046a_pinctrl_probe(struct platform_device *pdev) 181 { 182 struct ls1046a_pinctrl_pdata *pd; 183 int ret; 184 185 pd = devm_kzalloc(&pdev->dev, sizeof(*pd), GFP_KERNEL); 186 if (!pd) 187 return -ENOMEM; 188 platform_set_drvdata(pdev, pd); 189 190 pd->big_endian = device_is_big_endian(&pdev->dev); 191 192 /* SCFG PMUX0 */ 193 pd->cr0mem = devm_platform_ioremap_resource(pdev, 0); 194 if (IS_ERR(pd->cr0mem)) 195 return PTR_ERR(pd->cr0mem); 196 dev_dbg(&pdev->dev, "scfg pmuxcr0 at %px %s", pd->cr0mem, 197 pd->big_endian ? "be" : "le"); 198 > 199 ret = devm_pinctrl_register_and_init(&pdev->dev, &ls1046a_pinctrl_desc, 200 pd, &pd->pctl_dev); 201 if (ret) 202 return dev_err_probe(&pdev->dev, ret, "Failed pinctrl init\n"); 203 204 pinctrl_enable(pd->pctl_dev); 205 return ret; 206 } 207 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki