From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7DFD10E9; Tue, 28 May 2024 00:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716856267; cv=none; b=q+abYRWh6BAr/wPuF/kLaGd+0bPGkZJtUKwuHnI8j922AYDAhxCqFSssmrOHSDOqV9KYldvFUzbQrrMrl3Lra2odOt/tVaY8LEbFP0Zx8JehRp8KRwswobSKT/m4RE+jqVK7scVpTE6Rn4OphP9kuzYdSfQNFn+RG5dgjVhLhYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716856267; c=relaxed/simple; bh=P0/LfQaKGoP69x5KXxg8N7p9+FFI1udCwW9JW2WzM08=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QmrvgTeUgxykqIeWw9u+Au8IRB8AZ/77Lkg11atTACepGOWKsr1wdZZQgjO+Yaw9aAytNyiu0g2+et4Zb2r7na903MuCWk2olFhT5WZIlYtA0p0mSsBWCQ6CNZf3qvMYYDzwHFQyjZdZUbnrecncoDEdInvEVSVL/nzTKZu0LH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CTOqi9z1; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CTOqi9z1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716856266; x=1748392266; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=P0/LfQaKGoP69x5KXxg8N7p9+FFI1udCwW9JW2WzM08=; b=CTOqi9z1dRlfmo2aC7Nw88IKTXmBB6UPYUSQPWHVuMuVrr4ISTU/HIS8 Z9ofKD9qeta7ii3EO154ee0vTe+g2/13osjjO970xkUTdJwB39QqnFWPh 9XR9iXd/S8Eh2QQRgTu1NmoDDhYtdD5nt4Sd/Ox1CXF0+BdqYDUazRe58 n0ZPrDQ8K5XjS6IeUnAzaP/oi9G/NS48sFL+vq7QxDX/F/yFvoXpmpJPC pD+wcH0Eo+ZJ+LxhbeITNAVJ+JsQ4uX4wneQYYgwIELJLEV8fto1IRdl3 a3i2wFf3Q2n9WrXMQlVVHdnEXEensl9zTpfIut9faUtHoSPV9P4rvmlKp w==; X-CSE-ConnectionGUID: ZXCyD5+0TwO6r3/JB49PAQ== X-CSE-MsgGUID: GUePqGB0QnWkzDS1wGMu2g== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="23739163" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="23739163" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 17:31:06 -0700 X-CSE-ConnectionGUID: 6fE9edj0SF+S12iXuccd1w== X-CSE-MsgGUID: 2uN9A4pzSzKI4Z9OaDJrkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="66098716" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa001.fm.intel.com with ESMTP; 27 May 2024 17:31:01 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sBkjy-000BED-2N; Tue, 28 May 2024 00:30:58 +0000 Date: Tue, 28 May 2024 08:30:49 +0800 From: kernel test robot To: Andy Shevchenko , Andy Shevchenko , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Sascha Hauer , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Paul Cercueil , Lakshmi Sowjanya D Subject: Re: [PATCH v1 05/11] pinctrl: pinmux: Add a convenient define PINCTRL_FUNCTION_DESC() Message-ID: <202405280821.FcDAyD2b-lkp@intel.com> References: <20240527212742.1432960-6-andy.shevchenko@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240527212742.1432960-6-andy.shevchenko@gmail.com> Hi Andy, kernel test robot noticed the following build errors: [auto build test ERROR on linusw-pinctrl/devel] [also build test ERROR on linusw-pinctrl/for-next linus/master v6.10-rc1 next-20240523] [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/Andy-Shevchenko/pinctrl-berlin-Make-use-of-struct-pinfunction/20240528-053304 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20240527212742.1432960-6-andy.shevchenko%40gmail.com patch subject: [PATCH v1 05/11] pinctrl: pinmux: Add a convenient define PINCTRL_FUNCTION_DESC() config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240528/202405280821.FcDAyD2b-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project bafda89a0944d947fc4b3b5663185e07a397ac30) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405280821.FcDAyD2b-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/202405280821.FcDAyD2b-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pinctrl/pinmux.c:880:11: error: assigning to 'struct function_desc *' from incompatible type 'struct function_desc'; take the address with & 880 | function = PINCTRL_FUNCTION_DESC(name, groups, ngroups, data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | &( ) 1 error generated. vim +880 drivers/pinctrl/pinmux.c 849 850 /** 851 * pinmux_generic_add_function() - adds a function group 852 * @pctldev: pin controller device 853 * @name: name of the function 854 * @groups: array of pin groups 855 * @num_groups: number of pin groups 856 * @data: pin controller driver specific data 857 */ 858 int pinmux_generic_add_function(struct pinctrl_dev *pctldev, 859 const char *name, 860 const char * const *groups, 861 const unsigned int ngroups, 862 void *data) 863 { 864 struct function_desc *function; 865 int selector, error; 866 867 if (!name) 868 return -EINVAL; 869 870 selector = pinmux_func_name_to_selector(pctldev, name); 871 if (selector >= 0) 872 return selector; 873 874 selector = pctldev->num_functions; 875 876 function = devm_kzalloc(pctldev->dev, sizeof(*function), GFP_KERNEL); 877 if (!function) 878 return -ENOMEM; 879 > 880 function = PINCTRL_FUNCTION_DESC(name, groups, ngroups, data); 881 882 error = radix_tree_insert(&pctldev->pin_function_tree, selector, function); 883 if (error) 884 return error; 885 886 pctldev->num_functions++; 887 888 return selector; 889 } 890 EXPORT_SYMBOL_GPL(pinmux_generic_add_function); 891 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki 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 B0B06C25B74 for ; Tue, 28 May 2024 00:31:25 +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=/8owtBpzFH+Kwq4sxJohaj+eb9cDr6mUbdQRZ2NGKQ4=; b=swbMK0FNOQ7z4l E2Wt5pbdh7ORXNk5sy5QrSF/s8MXJl3rL5uE71Zx0ErB4nWA+nqmSLgqwNJ5rjUb8EHVzezExznwb q2g1f+yg+mUmUEu4RKPLs3JQAONNVSGWeVEWgiV5WiPiZowedJYpUy5/1F3+BPROvaFKtfJOorBGP ZqFfsZ5u+QEBWYAWV4huchonTE3p4Du/qQT4ZgoTj39Deux7bit2WF3W/f5hMT6Mn4+M3769Eu9kr kChfJTm4DDcWZN8xHszkA/FNETkrnpH41hQdNCksYsTvjjVqlgMHeBRIEr0x9otQZziJ/VK3lyy9b ZUBn32uH7Hr7W7y3Z08g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBkkC-0000000Gggp-3Nuo; Tue, 28 May 2024 00:31:12 +0000 Received: from mgamail.intel.com ([198.175.65.11]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBkk9-0000000Ggfv-0NpS; Tue, 28 May 2024 00:31:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716856270; x=1748392270; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=P0/LfQaKGoP69x5KXxg8N7p9+FFI1udCwW9JW2WzM08=; b=lj3mrXaqhluQrBNXivLRZkKWFTPdWA0Mq8FdtdRH/wIt/BMoFcWVV7sw Ae2maWflH2RugQEW9opoiBlhaswQxkx4ledsg+dydqixAgTvBzqOgpAJ7 ZO9MepPei3YFi8jo38UOT9U2CtOy0hgqCx92SvU7/cJezvd+Smpw3gDdd 2naWfWKAKh2BpjYb+If4BI7dykiCUxrmFijtoWYRnLeOmqcrr2aiGrJCk 3QgUPoXq4/p06IMhZ8T4a6GIRJwSxduIXcOico6xZiY/uuiO+e18TyCYZ B+LD+LVGv68agEsp2sVnFwF92qoKOWGASU6kWwf367AM9k95X+a9i9Wfx w==; X-CSE-ConnectionGUID: oa6SxJWsR+STeaKYhIP4Jw== X-CSE-MsgGUID: gmv23bbwSQu7OVE2mRvFMw== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="23739166" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="23739166" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 17:31:06 -0700 X-CSE-ConnectionGUID: 6fE9edj0SF+S12iXuccd1w== X-CSE-MsgGUID: 2uN9A4pzSzKI4Z9OaDJrkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="66098716" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa001.fm.intel.com with ESMTP; 27 May 2024 17:31:01 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sBkjy-000BED-2N; Tue, 28 May 2024 00:30:58 +0000 Date: Tue, 28 May 2024 08:30:49 +0800 From: kernel test robot To: Andy Shevchenko , Andy Shevchenko , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , Sascha Hauer , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Paul Cercueil , Lakshmi Sowjanya D Subject: Re: [PATCH v1 05/11] pinctrl: pinmux: Add a convenient define PINCTRL_FUNCTION_DESC() Message-ID: <202405280821.FcDAyD2b-lkp@intel.com> References: <20240527212742.1432960-6-andy.shevchenko@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240527212742.1432960-6-andy.shevchenko@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240527_173109_206878_48F707A2 X-CRM114-Status: GOOD ( 12.60 ) 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 Andy, kernel test robot noticed the following build errors: [auto build test ERROR on linusw-pinctrl/devel] [also build test ERROR on linusw-pinctrl/for-next linus/master v6.10-rc1 next-20240523] [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/Andy-Shevchenko/pinctrl-berlin-Make-use-of-struct-pinfunction/20240528-053304 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20240527212742.1432960-6-andy.shevchenko%40gmail.com patch subject: [PATCH v1 05/11] pinctrl: pinmux: Add a convenient define PINCTRL_FUNCTION_DESC() config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240528/202405280821.FcDAyD2b-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project bafda89a0944d947fc4b3b5663185e07a397ac30) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/202405280821.FcDAyD2b-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/202405280821.FcDAyD2b-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pinctrl/pinmux.c:880:11: error: assigning to 'struct function_desc *' from incompatible type 'struct function_desc'; take the address with & 880 | function = PINCTRL_FUNCTION_DESC(name, groups, ngroups, data); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | &( ) 1 error generated. vim +880 drivers/pinctrl/pinmux.c 849 850 /** 851 * pinmux_generic_add_function() - adds a function group 852 * @pctldev: pin controller device 853 * @name: name of the function 854 * @groups: array of pin groups 855 * @num_groups: number of pin groups 856 * @data: pin controller driver specific data 857 */ 858 int pinmux_generic_add_function(struct pinctrl_dev *pctldev, 859 const char *name, 860 const char * const *groups, 861 const unsigned int ngroups, 862 void *data) 863 { 864 struct function_desc *function; 865 int selector, error; 866 867 if (!name) 868 return -EINVAL; 869 870 selector = pinmux_func_name_to_selector(pctldev, name); 871 if (selector >= 0) 872 return selector; 873 874 selector = pctldev->num_functions; 875 876 function = devm_kzalloc(pctldev->dev, sizeof(*function), GFP_KERNEL); 877 if (!function) 878 return -ENOMEM; 879 > 880 function = PINCTRL_FUNCTION_DESC(name, groups, ngroups, data); 881 882 error = radix_tree_insert(&pctldev->pin_function_tree, selector, function); 883 if (error) 884 return error; 885 886 pctldev->num_functions++; 887 888 return selector; 889 } 890 EXPORT_SYMBOL_GPL(pinmux_generic_add_function); 891 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel