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 55F12C6FD1C for ; Thu, 23 Mar 2023 17:13:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/peabm2D5g/Xb248FuR8i1mwWjw446BkEZhcGgffnjg=; b=P1xI0lx74HzVY6 SaB7Cp/TokWoiXd2SJEWxB3CJ6Vbmr8zGwTVpcTSrNHtPqsdu4IcyB7ZpM+PgqVOejuRdH660bElr ad3VuNuPypWBK5RxOyHtp0SLP2LIYW9SFcT7l7z0FGINHHHswaPcmcS4Ig4FEcdLmX2UlJLXlYCa5 8EnGdwSx6WhRKAtypq3rag+aVLN/FLZrB7GyFUm1ZxpzTRSmtWUjHAJVcP51j7nbk+ZiBGPqzWc4m oLHyALjhyrB6HPaUlxrp97W+LqxqeiyfzjvxnTO31GO6jdTbymJBRmCQrOnQ5JpkmWwcwPBoorfp0 IDe2Bo25wL5Ys+j956Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfOUW-002ZDn-11; Thu, 23 Mar 2023 17:12:44 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfOUT-002ZD6-1l for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2023 17:12:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679591561; x=1711127561; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1P6DW8GCu0Rh5J3iAuRbJHRJpgLRrsh0L9ouH/3CJLg=; b=RTX8ZMF6fb2VSCVF9D2hwC9VEQSzAVoF0IsglHSbqT/IzeoHtS+3okb7 CjkAilLXaCbQ/V+Cb82iTWG3UDT5cP779M+INVBo9Plv/UMJpSZT5rEpo KlGDthX0+REoudUfBMXrnHyyf5XIAx1F+G1zbQ2KOfYa2EFmp/bWErzjw oxeub0lG4qhAS+49OWRgSB7iY3PHrrop7cLMcQuSH+6nlrrqjcIVAvpOt 2y9Vof8ZYurSPBkMOkOvN5oK8DjV8sV7s3cKCfwBOjffM3MqSVQMEI2rq UsZwg8/0yCvnjiatnKTv+qOTxc6jRROSavYoUUbQnRHX2GqOJ/NjCtkH5 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="341942783" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="341942783" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 10:12:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="1011906519" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="1011906519" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 23 Mar 2023 10:12:36 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pfOUO-000EZ6-09; Thu, 23 Mar 2023 17:12:36 +0000 Date: Fri, 24 Mar 2023 01:11:37 +0800 From: kernel test robot To: Chester Lin , Linus Walleij , Andy Shevchenko Cc: oe-kbuild-all@lists.linux.dev, Chester Lin , NXP S32 Linux Team , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ghennadi Procopciuc , Andrei Stefanescu , Radu Pirea , Andreas =?iso-8859-1?Q?F=E4rber?= , Matthias Brugger Subject: Re: [PATCH v3 1/6] pinctrl: s32g2: use of_device_get_match_data() to get device data Message-ID: <202303240158.uaLsPb4O-lkp@intel.com> References: <20230323144833.28562-2-clin@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230323144833.28562-2-clin@suse.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230323_101241_648030_D5D15E8C X-CRM114-Status: GOOD ( 13.82 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Chester, I love your patch! Perhaps something to improve: [auto build test WARNING on linusw-pinctrl/devel] [also build test WARNING on linusw-pinctrl/for-next next-20230323] [cannot apply to linus/master v6.3-rc3] [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/Chester-Lin/pinctrl-s32g2-use-of_device_get_match_data-to-get-device-data/20230323-225141 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20230323144833.28562-2-clin%40suse.com patch subject: [PATCH v3 1/6] pinctrl: s32g2: use of_device_get_match_data() to get device data config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20230324/202303240158.uaLsPb4O-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 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/intel-lab-lkp/linux/commit/b716f96ba217e92e79b0d888f187ba0f30d705cf git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Chester-Lin/pinctrl-s32g2-use-of_device_get_match_data-to-get-device-data/20230323-225141 git checkout b716f96ba217e92e79b0d888f187ba0f30d705cf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/pinctrl/nxp/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303240158.uaLsPb4O-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pinctrl/nxp/pinctrl-s32g2.c: In function 's32g_pinctrl_probe': >> drivers/pinctrl/nxp/pinctrl-s32g2.c:747:40: warning: passing argument 2 of 's32_pinctrl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 747 | return s32_pinctrl_probe(pdev, info); | ^~~~ In file included from drivers/pinctrl/nxp/pinctrl-s32g2.c:18: drivers/pinctrl/nxp/pinctrl-s32.h:70:54: note: expected 'struct s32_pinctrl_soc_info *' but argument is of type 'const struct s32_pinctrl_soc_info *' 70 | struct s32_pinctrl_soc_info *info); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ vim +747 drivers/pinctrl/nxp/pinctrl-s32g2.c 740 741 static int s32g_pinctrl_probe(struct platform_device *pdev) 742 { 743 const struct s32_pinctrl_soc_info *info; 744 745 info = of_device_get_match_data(&pdev->dev); 746 > 747 return s32_pinctrl_probe(pdev, info); 748 } 749 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel