Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2348513lqb; Mon, 27 May 2024 17:31:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2g3mgRNUFJE/q80LAkUjouOVXIPDWM9PaOU7M9SBt0KRXmWvVu1rMj+EbeBv02q0GTjgOZZfHjb3627weHnJCT+x/hEwSbdY5yxauIw== X-Google-Smtp-Source: AGHT+IFWknwO9u91JW+79GU7fmGLyKtI0vOSG94kQ8efArCZf5xPG7q4AxrxLTx6ZyZumR0dIW5w X-Received: by 2002:a05:6214:440a:b0:6ad:7a62:5d8b with SMTP id 6a1803df08f44-6ad7a625e04mr55668466d6.46.1716856275044; Mon, 27 May 2024 17:31:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716856275; cv=pass; d=google.com; s=arc-20160816; b=XX0QSPdvjUvu8r+uDKR4t0yaceSyb1dlYmYBj9UTnOOLNWRufOG/tf78JTKciKiOh8 IZxQi2DLqmDQ7Ps7D8DK9VyhZ1TjDWa1Th+Yq39ZMRoiHKUOtckS+qsz2VJRVR8yvh/E QwVsJ21NjQLByS8Wkgq/xSjn+hcZU1LzunGmiYzXkpRjorCr4LCMesOgzQE5v4qp6Et9 ByOZ7UhHEbazsVIe+cK9rjTt6cxy2hBIf+M3B+lkuovaRxr6QeK3K1tre+ptxmazRZpU UWwOMnT+p5cvvGl7L1zkXkFZRIzbOQuIMaeAi3mgU7PsRmFVu4udG+rA2dOhvNFhL+8t cJDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XGi6LyyX/vRVRuOdKrPif1k2geP8pMfGGf74bivHI9o=; fh=6zNRVa2zWRqkzSxUo0mILVd0wvMo6myvCXe18TFp6zg=; b=d2qqjKqgMGNAZRkMvRR7XTUg+NVAOYILPdc8kg4UNFpWsor0vnnRA/rogFtZR5V2nX AVow0PWbhguJwEbbAfpzh4okNGHqAzh+ctrq9Tnbu0e57TjEUK1n3NyOCczV0W38Jq1R NnwYKPgcNy5GExvGxTZ9azn2kpQb+uX2dd/xr1xm5SZ81TTORJE75E6Mr5K+TenTF++p HJSwvOaY1RrZJBUeDcFJy9yrSunNLsUJYHQkaD65tLiR9CiUcAzxfzkMysuAiE4dcQR5 BIK9VvLHNquEvNE6/LIMA/xmcSK+CYCPjhVNhDT5D1hXiWdHhIzGmUwwrP0+oaEdjbJD X5ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nP6U08Tq; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-191542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ad7572f8e0si56821716d6.288.2024.05.27.17.31.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 17:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nP6U08Tq; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-191542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B5BE81C210B1 for ; Tue, 28 May 2024 00:31:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D52AD8F49; Tue, 28 May 2024 00:31:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nP6U08Tq" 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 59E45440C; Tue, 28 May 2024 00:31:06 +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=1716856268; cv=none; b=NRCXVfiYymv1tBvYEPNgULchNpm1ea5WTXj9Q2t9JX8pAoyJLtKCt/JsnoEDelnwB/njxZ9ZGSSKzs/sgLG7lPx8zE7UJxo69Wk/VMbNiAZeCPGhCAcdldKQQYIZruFxDM01zM6KPGzfBpdGH3k0utxhfX094RWpWc+fpZ6VoXo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716856268; 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=cPRMBF/I4kImCwfGgDOB7VQVMzoBC+JpQd4nGAuFeLDJBX6wqpez7sVz+bhekh19mzTEFUnsGuZtQ1EnIiMhCWHSaA+91vdj1tjf01w1bakisuFH/eyEgkxY560epYguRZNUYekxckzK9VT9+cJeF3pSYLXD2HJKjOz2h9dBFiQ= 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=nP6U08Tq; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716856267; x=1748392267; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=P0/LfQaKGoP69x5KXxg8N7p9+FFI1udCwW9JW2WzM08=; b=nP6U08TqxJhSFfHzjbNB9MUESa1k+o3/zX4alFnIEGOXcCYc/fKvDv2u 6mNguHNrROJVONT7p1UqLhZqYsllWS3JPFI6AbDDhPJKKO4XVWsvEX+aN qvSC3B9oJjaiVCVZmpiDxtFKwwLzGWnd19YTa8nWfqtn0ITEEK+qIaCVY HpHh1GL8Dc/9F0vlcLHOgiGTVGhCnz7NMiSQ532Tim/l4ZRfMGxqEvbUr isspiHS7Uoz8cE5LHNC7nryEOZQyC75m9IkeYAxEBPQogc8hOWGwIA9QW pPlA/HbV7UqzlZFuIOMiL91nWCBJHMiUrRooiOriDh72bqg41dZGjIcoP g==; X-CSE-ConnectionGUID: 2SulOJdDQs+wmd90HmBFrg== X-CSE-MsgGUID: PM9cuNvFSU6w6PqJDLNoYA== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="23739165" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="23739165" 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: linux-kernel@vger.kernel.org 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