Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7929077rwl; Thu, 23 Mar 2023 10:19:27 -0700 (PDT) X-Google-Smtp-Source: AK7set/4l4s4VXH3zamRxpRLYqJFH2iZSXxZQZqF7+bExKlm/jFKZoAM3bgt6w4wKvNMllkWWB9q X-Received: by 2002:a17:903:4101:b0:1a1:dd05:39fe with SMTP id r1-20020a170903410100b001a1dd0539femr6476276pld.4.1679591967073; Thu, 23 Mar 2023 10:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679591967; cv=none; d=google.com; s=arc-20160816; b=Ptb5ug0m0qYoJ1pT/czO86bL2gAzTG2vPfB2AIJtDcEjMk2AEfVEg4/ljBrUu/0aT+ bu2KJts+KiOZ4AmdQ9+9ngyojxUXVYC7ASsjXLhicqfoWwDXzT/x4z/H7qtFm/fiPAYW vTiUF+vVkFB9nBcjiImmayrRRUjPnvxvoU6xGG1t7J9iU4+weJNecuKXJK/4zXTCdDCf fdAwli6ckQaZmMuBKkeZiMvfOwIFxg0gRc8O720dNfWCVOJNdOcOkyZ+jdmLnEKUEERj xmMq9Bvijbdk5WYiGAyi0MfTlWFis0G43JlaewEjUSfXCTo0K6FcIrjx4Hi2fzvoVNAg 08wg== 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=tU3PK9qPW81VmmUBm7IaE4Dwxs1Ap/DaXxHTPSTmdI4=; b=fhI/dCGtgYXwGz7brZ8KfqJdXqcg7YBZ+ou697iV1FRK/zU373/NZ8sLggwEJ+CW0R KyDBiUr3iL4pJ9QaWeRu8VI9ml6NtA2R1m9K8XMZZG9C23Lg1l2YlwaUHFRN2StDVK9r e6i5hhMbYroerkBpWhlawhXJnJ5I5GIxZ03tKNN+6pKcIx36wboH8mm5QsTLy2jN6/oq gwMlvnIYnk8GnOCfx4JgfuVDOLfzA3DdBEdOGMc5GTKZVjDo+7iltRnqFGqonGQr3iwZ j/WthdvEIlmqZKvyfEHPxJwwduDhfpfUwTKEKfKcjE7t/bBaOmtfAUX2WDhiOGAghPPT IMEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PJWMxZqq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t10-20020a170902e1ca00b001a19be445e1si17781827pla.514.2023.03.23.10.19.08; Thu, 23 Mar 2023 10:19:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PJWMxZqq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231409AbjCWRMn (ORCPT + 99 others); Thu, 23 Mar 2023 13:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjCWRMl (ORCPT ); Thu, 23 Mar 2023 13:12:41 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FFAB23C68; Thu, 23 Mar 2023 10:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679591560; x=1711127560; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1P6DW8GCu0Rh5J3iAuRbJHRJpgLRrsh0L9ouH/3CJLg=; b=PJWMxZqqocQHGP8huFT75Euv5bA4XMHxw65nwifY8M9uaTQW3Kdxi+E1 Ewa93e6I2g0/Y3wd00dz8yfEjFLHpunf3Xs4/6LASDQupl83iQ3rOF1fz 5+TlEZDd6nnRWfYryplfXH85Lc0yvVVcngGHSiKmUd6hbllEOkEK+Z+at 0Xkj2asLekWxiyTe4T6yCx6ZYNLbGb7wTsiK1ef/m5JCOo8OC6GtAtSWG nMSijUBIxTJbdvR8O+wwW4urWkEsmRFFvwuTOkUiNKWwBYkery2XVL7if 4+3X1zaovEejfLd9E2X4liOQy1RmlI401aInKBCGOwG1CpC8chQuwLsgN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="341942779" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="341942779" 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230323144833.28562-2-clin@suse.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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