Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1376880rdb; Sat, 3 Feb 2024 04:08:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYona46AhyUxpADqRnMKXYXmafRlvENkdNavae9cOlX5vIhcvitl9vnPdc21D69mUpCMb4 X-Received: by 2002:a05:6e02:802:b0:363:7d46:4cf0 with SMTP id u2-20020a056e02080200b003637d464cf0mr8182445ilm.8.1706962099191; Sat, 03 Feb 2024 04:08:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706962099; cv=pass; d=google.com; s=arc-20160816; b=F1HWo0z9trIQHyla0vfNovZmbuZ15C2CbK22HwMm/afy6ykoEVe5PcFHtSuzTBeVoL gn4gGLuIk4YuPUi6fPHzqeJ+HF9v06tbiwKraV7jVZynfl+VQPVPNIhKEzuB9oyK68/4 fd4IGn+KDF5oJlN1udTXGKjNS7oPa2fRKd0bC4y2LIyQe7Az3rp01wxjfzXZ8ub/CBtc wJ3BVpg76PKR/5eP+gnWoKRg7nhVWQh+Gn1C0er17TRFz7ZzPR0/3jKWse7MpDtASpeK MZDHdDinPfTPayqM6cyhlqvaGvBWchrWaGFx5CeHkvs03xpIXtzl3NhJ5B0DZ/BJo14e SOXw== 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=5q3TqpXfssjTqc1xdX1Qr/McCXG4X6WCMUDcj+CVKic=; fh=LL8u/I8PbwI3/PO7lA3UG7GPlvyC+G3cBUFxZyGZ3ic=; b=AqFtF9YrN2EhbUWTr8UxiKKB0W9tj7Tv8+f2GTIWC8eejotOjINM+1kCnEoksTFrAa bKzAVGy+pT54jUMbWjHz2pEg4p43+UZTiwPnfWyrQlH5g8uhrP3fdwVgMfxe0MSL4/Xy oUvfCgeTTgDo/Y1K8vlEbD0AVGfUQNl4+XTbaCyXLTcLrnH7lZZw7dyKSObVpEwkZWIH 6iB1arYmolZha8ScenL5TWtiIva5M5T6YZElPzPzClfxQD03pXvy3KDn5qMbSU8DcOs8 N4aybFvZ7nviadMYjGljW/C4VR+d0NLjmkgE7BcCwg7CBHMfjtq6I9UxlHzroplTl/kc ucLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=btXJjrnF; 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-51037-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCVhGc81b8NjTPFqz8TcMgrsTPu3OdilK/0KyidKZPKLQXtUsvonNVitq6Xy3cOn93bVb8FC32h/JD+qNFuaHBj1MF2LRIPxgbjCbnGEbw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t29-20020a63225d000000b005ceea21d9ccsi2935429pgm.771.2024.02.03.04.08.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 04:08:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51037-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=btXJjrnF; 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-51037-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51037-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 0A169B28F8E for ; Sat, 3 Feb 2024 12:00:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F07C95D90E; Sat, 3 Feb 2024 12:00:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="btXJjrnF" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 0B40F1CAA4; Sat, 3 Feb 2024 11:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706961602; cv=none; b=mea3E6TuI5aMGMLjFkOLGs7eiAWk9MWXd2XHkkkW55zGrF77SyfuAVjtRj1NmlQ1QpIy7WSsCphgKqhWb/HHe4KCrf9P436uCqGwxbBuMf5qi9uWaTzm0IVL88HUmAgemlboYNlC2e/VTEx9YAMDqUaIqOJ0YKZK0oaCtIaeNSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706961602; c=relaxed/simple; bh=OaM3NQPREDdpKg0JK+QSLTqUnxO///RJV6jgIGAqKH8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HzwMsAmMSqjw/6gAnPE+BTyaQNPBd8fCDMg7RXl4bsvbv8Q7jYtobQRkdw1YS4IQ6pR0/RlW0xJ7UPZohq3spxumrJTctnQL1UPnToMDH6TGQbVbqhOFqgf5l1d8CLBqpEJkTk1LMFzAksoFaBWFNpgNKNQQz6axxLp4G+mMVvk= 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=btXJjrnF; arc=none smtp.client-ip=192.198.163.8 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=1706961600; x=1738497600; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OaM3NQPREDdpKg0JK+QSLTqUnxO///RJV6jgIGAqKH8=; b=btXJjrnFM9KelXjPU22Mz/JdfICOQKyAJrrHqTvH6R3DdjvnMabiJEpe K+z9NXOo/Nie4TeWRkvmZD8VAElyfoBBupMH97Gfu1BwtJyZqra9RQpsA xGafuKiQIeGUuKOdh8ZHRvO+lyBLpfftZcCN5KOUcugVIFrs/ch/CEVEU 3anw4xm01/LJxgBl1E80QC7OpO6/d5DvAG0jjFtWQiqd4qUGUJntf34xm qYuZlnAZxepckPH2wR9mT9SH6/RyO4tEUn9gSyAFEzbFii2AQHmU1s8o7 Fo0DMBFJMlVeueuWBBYUjAYAcQGu3dEfuFPOvU2RsCEo9G70vJLbTEfWz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10971"; a="17835200" X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="17835200" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 03:59:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,240,1701158400"; d="scan'208";a="4911402" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orviesa005.jf.intel.com with ESMTP; 03 Feb 2024 03:59:55 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rWEga-000506-0C; Sat, 03 Feb 2024 11:59:52 +0000 Date: Sat, 3 Feb 2024 19:59:18 +0800 From: kernel test robot To: Thierry Reding , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Thierry Reding Subject: Re: [PATCH net-next 2/3] net: stmmac: Allow drivers to provide a default AXI configuration Message-ID: <202402031948.IySiUm4u-lkp@intel.com> References: <20240201-stmmac-axi-config-v1-2-822e97b2d26e@nvidia.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: <20240201-stmmac-axi-config-v1-2-822e97b2d26e@nvidia.com> Hi Thierry, kernel test robot noticed the following build warnings: [auto build test WARNING on 51b70ff55ed88edd19b080a524063446bcc34b62] url: https://github.com/intel-lab-lkp/linux/commits/Thierry-Reding/net-stmmac-Pass-resources-to-DT-parsing-code/20240202-025357 base: 51b70ff55ed88edd19b080a524063446bcc34b62 patch link: https://lore.kernel.org/r/20240201-stmmac-axi-config-v1-2-822e97b2d26e%40nvidia.com patch subject: [PATCH net-next 2/3] net: stmmac: Allow drivers to provide a default AXI configuration config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20240203/202402031948.IySiUm4u-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402031948.IySiUm4u-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/202402031948.IySiUm4u-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:96: warning: Function parameter or struct member 'res' not described in 'stmmac_axi_setup' vim +96 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 3b57de958e2aa3 Vince Bridgers 2014-07-31 86 afea03656add70 Giuseppe Cavallaro 2016-02-29 87 /** afea03656add70 Giuseppe Cavallaro 2016-02-29 88 * stmmac_axi_setup - parse DT parameters for programming the AXI register afea03656add70 Giuseppe Cavallaro 2016-02-29 89 * @pdev: platform device afea03656add70 Giuseppe Cavallaro 2016-02-29 90 * Description: afea03656add70 Giuseppe Cavallaro 2016-02-29 91 * if required, from device-tree the AXI internal register can be tuned afea03656add70 Giuseppe Cavallaro 2016-02-29 92 * by using platform parameters. afea03656add70 Giuseppe Cavallaro 2016-02-29 93 */ af49f82367c1e3 Thierry Reding 2024-02-01 94 static struct stmmac_axi *stmmac_axi_setup(struct platform_device *pdev, af49f82367c1e3 Thierry Reding 2024-02-01 95 struct stmmac_resources *res) afea03656add70 Giuseppe Cavallaro 2016-02-29 @96 { afea03656add70 Giuseppe Cavallaro 2016-02-29 97 struct device_node *np; afea03656add70 Giuseppe Cavallaro 2016-02-29 98 struct stmmac_axi *axi; afea03656add70 Giuseppe Cavallaro 2016-02-29 99 afea03656add70 Giuseppe Cavallaro 2016-02-29 100 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); af49f82367c1e3 Thierry Reding 2024-02-01 101 if (!np && !res->axi) afea03656add70 Giuseppe Cavallaro 2016-02-29 102 return NULL; afea03656add70 Giuseppe Cavallaro 2016-02-29 103 64f48e593a54a8 Joao Pinto 2017-03-07 104 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); 4613b279bee795 Peter Chen 2016-08-01 105 if (!axi) { af49f82367c1e3 Thierry Reding 2024-02-01 106 if (np) 4613b279bee795 Peter Chen 2016-08-01 107 of_node_put(np); af49f82367c1e3 Thierry Reding 2024-02-01 108 afea03656add70 Giuseppe Cavallaro 2016-02-29 109 return ERR_PTR(-ENOMEM); 4613b279bee795 Peter Chen 2016-08-01 110 } afea03656add70 Giuseppe Cavallaro 2016-02-29 111 af49f82367c1e3 Thierry Reding 2024-02-01 112 if (res->axi) af49f82367c1e3 Thierry Reding 2024-02-01 113 *axi = *res->axi; af49f82367c1e3 Thierry Reding 2024-02-01 114 af49f82367c1e3 Thierry Reding 2024-02-01 115 if (np) { afea03656add70 Giuseppe Cavallaro 2016-02-29 116 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); afea03656add70 Giuseppe Cavallaro 2016-02-29 117 axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm"); 61d4f140943c47 Jisheng Zhang 2022-12-03 118 axi->axi_kbbe = of_property_read_bool(np, "snps,kbbe"); 61d4f140943c47 Jisheng Zhang 2022-12-03 119 axi->axi_fb = of_property_read_bool(np, "snps,fb"); 61d4f140943c47 Jisheng Zhang 2022-12-03 120 axi->axi_mb = of_property_read_bool(np, "snps,mb"); 61d4f140943c47 Jisheng Zhang 2022-12-03 121 axi->axi_rb = of_property_read_bool(np, "snps,rb"); afea03656add70 Giuseppe Cavallaro 2016-02-29 122 af49f82367c1e3 Thierry Reding 2024-02-01 123 if (of_property_read_u32(np, "snps,wr_osr_lmt", &axi->axi_wr_osr_lmt)) { af49f82367c1e3 Thierry Reding 2024-02-01 124 if (!res->axi) 6b3374cb1c0bd4 Niklas Cassel 2016-12-05 125 axi->axi_wr_osr_lmt = 1; af49f82367c1e3 Thierry Reding 2024-02-01 126 } af49f82367c1e3 Thierry Reding 2024-02-01 127 af49f82367c1e3 Thierry Reding 2024-02-01 128 if (of_property_read_u32(np, "snps,rd_osr_lmt", &axi->axi_rd_osr_lmt)) { af49f82367c1e3 Thierry Reding 2024-02-01 129 if (!res->axi) 6b3374cb1c0bd4 Niklas Cassel 2016-12-05 130 axi->axi_rd_osr_lmt = 1; af49f82367c1e3 Thierry Reding 2024-02-01 131 } af49f82367c1e3 Thierry Reding 2024-02-01 132 afea03656add70 Giuseppe Cavallaro 2016-02-29 133 of_property_read_u32_array(np, "snps,blen", axi->axi_blen, AXI_BLEN); af49f82367c1e3 Thierry Reding 2024-02-01 134 4613b279bee795 Peter Chen 2016-08-01 135 of_node_put(np); af49f82367c1e3 Thierry Reding 2024-02-01 136 } afea03656add70 Giuseppe Cavallaro 2016-02-29 137 afea03656add70 Giuseppe Cavallaro 2016-02-29 138 return axi; afea03656add70 Giuseppe Cavallaro 2016-02-29 139 } afea03656add70 Giuseppe Cavallaro 2016-02-29 140 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki