Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1060541lqb; Wed, 29 May 2024 21:28:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSmsGr4IJ447YxZBGZ6BECMBTFwdgWNlEp5azkaGUCBmcceiGNn2R/Kjl0HVZestoguCL+CLMr7a3ukZRJ0SHjL8xoHTUggPgl3K9d/g== X-Google-Smtp-Source: AGHT+IGMnf1tRXEjuUUvp7btQx2OrgJnJsKVEnsXm3bF/fxRLy4er9DAyVV7EHst4jga0uilh/o+ X-Received: by 2002:a05:6a21:2729:b0:1a7:23ae:4421 with SMTP id adf61e73a8af0-1b264d5fd02mr966452637.24.1717043322039; Wed, 29 May 2024 21:28:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717043322; cv=pass; d=google.com; s=arc-20160816; b=dMvTd6jIRufE2wUGu3myzBkPtBCeM1DS9QQqRhJ9aC25ZNGFE/fns9JoCY6hRaqSCi CfyGX8g6LNRwQW8w7oZrfp9uBrRnfYnIMnSd2Re3MPjsXa6yOt4lvmvCmqedVh83OVRA Ug9BiKvoYf5c1tc08fsCBKnQOOapG4hxoS0TOi6XYmgsjqIX8qGTdmwEFXQeMvKbn1Jh TzA/7BbNyU/5d/Q9rK1mFd6idipTpbYaRCEjiPbYiofAeWvHZx9fB/MqfW8jjqiktPUr CheWBHF7xci22d2+Ezx3c40EWEVrAwjWMrll13DnIZdjvGlOGzNyNJyAmZZ5V0QsQu/2 ZeKw== 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=PQ4zZXSy9sY36vJ5LdLIeS4BgydSdxkUvIUU9dh37dE=; fh=ooFC9ZdeiRpX4qlgeGd9B3q75PsIv6fUwcEzHcY9bm4=; b=MjccTrJsqKj886tEhTjpHpcm0ma27Jgv0FBOf2UrCeRE38nh+h2IZIDVKY2IszI/F6 Lmbg7R4xGuu4liD5ShbiUtvsK+kd2Eno5F8Z41VrMaCfW7pNvPD/nehfrd5cqljnr4h/ tazpPzXnjCVLdMVsNBZjwQZEKQA4Vrl7W3lnD+Vg8W35cHUc7B0xbAB6bxHNYcFukjEW d6dpOArloQ73dpWGbOaETzOZ8pvrk8vL/pqgTi53KcHOmm7E7/OedVA/ExAhSxGzoxWG kJ9DXYQRuZPDuLuxjbARyLttyR48gq+DGPy8i2lknonv6oHES8ZTsI6xFkwzOV62zZ7Z Y4jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N60VcUMT; 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-194934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822779bf49si11694198a12.339.2024.05.29.21.28.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 21:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N60VcUMT; 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-194934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194934-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BDC17B22496 for ; Thu, 30 May 2024 04:28:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58536143C48; Thu, 30 May 2024 04:28:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="N60VcUMT" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 DEC9C143884; Thu, 30 May 2024 04:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717043306; cv=none; b=GV1KLPA4X+k0R1nqacl20VyyDJATUE9b0Try+uX5shEyRJkl4DSyNANdUDNZz+ZNojszUyELbZK+GMtJIXq7x2ipxsA8+PmOxjIQeqoIvA9UZ5mwhIWUMaHjlBU6iUthjfJmbRQDuBKa7oapXV5pI0AC2cUCok9FOep2kTTDWPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717043306; c=relaxed/simple; bh=v5tjOO9HmCSCEa8MYghEPg07vHQ4gZzTHlkRqnsQfVI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t4WMb+Rrl6ZNuvY9pkYMmmEtbMPvtkQu3cTuNsq9Ue4PC6bfoAOdcdlsfa5HC247wXTRPIGfcJWH+Cn9oNejlzACSJ6TqK/FYEE8sSqLIO15xJGCwSB7g62IVnkHhiR4JuibNBdqIfKw7VhFK3O10MSGMl+K6ocpNO7M24lc0C8= 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=N60VcUMT; arc=none smtp.client-ip=198.175.65.19 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=1717043305; x=1748579305; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v5tjOO9HmCSCEa8MYghEPg07vHQ4gZzTHlkRqnsQfVI=; b=N60VcUMTipNsICAo4uPnNsUe7V35ywotzXeXppHNycIdVlonNWCJH3JB ai1SpPgZrerTIZUyyuSUTnVPqSul1MwFbgcd6F+Z0zkryjZZ0S6HOn1/f ykGyVZt4H15I7ttNK/MdsLW0aQ3bZS167gl+dJMOGJDoi61sndZ1KhW0D Rlf1CCXGADUQ4DvSsOa0UMQnT+NhAou8yjRsZaMBktIKMPPs/+Q+IyDbL af057F2bhFlGH5pKiJ91uhoZnUj8ZBW+dOK2Rt1/DpNvz4Z0KiPc3+VW5 f34WcwrPfRSF28pa4+aDEHlwJiGi40LHl+x+iIJblxkdTR5u8/61bi/BF A==; X-CSE-ConnectionGUID: 3LQSmPmuS72zQeC5YNMIvw== X-CSE-MsgGUID: J9fMD7oVR1uPuB+oZoAjuA== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="13340446" X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="13340446" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 21:28:24 -0700 X-CSE-ConnectionGUID: 0/ZUuWfvR7qEdHtbyIv6RQ== X-CSE-MsgGUID: ehlieuwQQxmSfolO3L8mGg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="36153670" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa006.jf.intel.com with ESMTP; 29 May 2024 21:28:19 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sCXOi-000Eo1-3B; Thu, 30 May 2024 04:28:16 +0000 Date: Thu, 30 May 2024 12:27:33 +0800 From: kernel test robot To: Andy Shevchenko , Andy Shevchenko , Linus Walleij , Daniel Golle , 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: 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 v2 07/11] pinctrl: imx: Convert to use func member Message-ID: <202405301147.XaijPkPT-lkp@intel.com> References: <20240528194951.1489887-8-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: <20240528194951.1489887-8-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-20240529] [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/20240529-035554 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel patch link: https://lore.kernel.org/r/20240528194951.1489887-8-andy.shevchenko%40gmail.com patch subject: [PATCH v2 07/11] pinctrl: imx: Convert to use func member config: microblaze-allyesconfig (https://download.01.org/0day-ci/archive/20240530/202405301147.XaijPkPT-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240530/202405301147.XaijPkPT-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/202405301147.XaijPkPT-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/pinctrl/freescale/pinctrl-imx.c: In function 'imx_pinctrl_parse_functions': >> drivers/pinctrl/freescale/pinctrl-imx.c:603:52: error: 'struct function_desc' has no member named 'ngroups' 603 | group_names = devm_kcalloc(ipctl->dev, func->ngroups, sizeof(*func->func.groups), | ^~ vim +603 drivers/pinctrl/freescale/pinctrl-imx.c 577 578 static int imx_pinctrl_parse_functions(struct device_node *np, 579 struct imx_pinctrl *ipctl, 580 u32 index) 581 { 582 struct pinctrl_dev *pctl = ipctl->pctl; 583 struct device_node *child; 584 struct function_desc *func; 585 struct group_desc *grp; 586 const char **group_names; 587 u32 i; 588 589 dev_dbg(pctl->dev, "parse function(%d): %pOFn\n", index, np); 590 591 func = pinmux_generic_get_function(pctl, index); 592 if (!func) 593 return -EINVAL; 594 595 /* Initialise function */ 596 func->func.name = np->name; 597 func->func.ngroups = of_get_child_count(np); 598 if (func->func.ngroups == 0) { 599 dev_info(ipctl->dev, "no groups defined in %pOF\n", np); 600 return -EINVAL; 601 } 602 > 603 group_names = devm_kcalloc(ipctl->dev, func->ngroups, sizeof(*func->func.groups), 604 GFP_KERNEL); 605 if (!group_names) 606 return -ENOMEM; 607 i = 0; 608 for_each_child_of_node(np, child) 609 group_names[i++] = child->name; 610 func->func.groups = group_names; 611 612 i = 0; 613 for_each_child_of_node(np, child) { 614 grp = devm_kzalloc(ipctl->dev, sizeof(*grp), GFP_KERNEL); 615 if (!grp) { 616 of_node_put(child); 617 return -ENOMEM; 618 } 619 620 mutex_lock(&ipctl->mutex); 621 radix_tree_insert(&pctl->pin_group_tree, 622 ipctl->group_index++, grp); 623 mutex_unlock(&ipctl->mutex); 624 625 imx_pinctrl_parse_groups(child, grp, ipctl, i++); 626 } 627 628 return 0; 629 } 630 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki