Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp147278lqe; Tue, 9 Apr 2024 18:34:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/1Puyth2mRbY10IBui7XKRtpgmod+VpP9KQiSzdEZcnGmlBxNtVBzgwlXyWrq+X8kf+fqOHpH9nepFs/VlfWmYkuKwMseP72bOdEv1w== X-Google-Smtp-Source: AGHT+IGjVTPF5RcdU0x9xkE+H2EowXI3uiL233PzRVDEYA7vSBcm8XFzpjaw9MuYLiAuXa7WrNWu X-Received: by 2002:a50:9f67:0:b0:56e:2cb1:c517 with SMTP id b94-20020a509f67000000b0056e2cb1c517mr775279edf.19.1712712863227; Tue, 09 Apr 2024 18:34:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712712863; cv=pass; d=google.com; s=arc-20160816; b=Ul1qMDDXUN3n9PbWPpQhQcolk3ePuSWUg5Ih+tOLYn94kMJzvN88g6pBVooxfnFEEj Y7QDO3Z/0AHktq1u+Jn1lW+XDHpTa4PNvB1IKTMw7Hh4GPjT1BYdZ51+/pPzkKqKOcZE 2Vy3D+TYOjeRzJ4xZY1/3NQPk2TnmXfSc8xyVq8UBVA509MRRxnZaTgwWDkUgoF1aVSI Q4PAtb3pmx5F073mX8uj4LGpmCEKUoLuEyU6GZYkAVBAK436KDWCgrkZ0EHnV4Ia//gW UCqLWaYTybcat475iQ/OpsHew08OuEIVv06KVeTLzabHQ6/EkeZOe0jroUH/tTnH3GwC xzlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=M7OG90/Ba/xiOyoL3ClyYmlTVJoIVmsexXf6JZXa0UU=; fh=jndZ5jZD9nge6T6GV30rdmEzFviJBpNyg7aadJ8jEWs=; b=d6qRN5Lwuu+QDdeNcC+N6/JLyfDg0mX3D3eDf0zUBYmGiqXQzi3V9tqQsjfln3J5ue eER+Sm4ehArF3SFue0b6pwwEoyJV7C3laP0CjoNKaARQXpyp4+WupD5m6kCcO1kd3Ets HmZf42E6EkCq9QTbUCFwyAIkA4kpcAMkrC0Ekne8k6YLKvi56Zcu90fapFc7K/D4n0j7 606oQd6GriuPDs3MLJLlpYjIEKBszNADHS1EROInbyMH139cCbjO/FTq5dwiSHoBeUrg TM7AXHiSdP0jtv4a3MePZZz10VeZAG5aOZBCm8OBp7t1fjlVPRTknQILd9qkubeddlnd snSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cGaVed5+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a34-20020a509ea5000000b0056e48e4a4d8si4115940edf.477.2024.04.09.18.34.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 18:34:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cGaVed5+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137802-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id E8C5F1F22EFB for ; Wed, 10 Apr 2024 01:34:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C3284A15; Wed, 10 Apr 2024 01:34:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cGaVed5+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8CB7064A; Wed, 10 Apr 2024 01:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712848; cv=none; b=fzEqpqNP1N00DvpplO6091f5N6JuoPH8QODL+gPAAYLQtNd9diZk6G7NS6jldrQ1jdjLXdmK7uXh+UD1SbsL/SfLZ74Hv8veo4QxrR5i40/2e8d0Y/CiMCiGs4fmxhy+Sh+IeU1hLUfIIebImP1CZDW7kqpVTsa3pRNYu1U2Kjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712712848; c=relaxed/simple; bh=DqEyzDB6gA9tY2cLBHY0HaJ2TcbP4Rj1/3pQs/AVjDY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gVqx98oCzTf4VKpXoEscwvilUEko8VvxbFX9t3MSPFmhoY9MHRsWsjjySyULpVEJ0j/krIOGOa/B+2nm/jzxuNWJIrxg7NN9v2t+KFYhVoBTKAKnLBYlJorXptzo3I0Z2cjjcIfXa9KN24WBb9/Zkc7iF/etoI3MZhrd1pzuKq8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cGaVed5+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03DCFC433F1; Wed, 10 Apr 2024 01:34:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712712847; bh=DqEyzDB6gA9tY2cLBHY0HaJ2TcbP4Rj1/3pQs/AVjDY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cGaVed5+yN7xmkmbHJVfElRpnFUDSFbABfqVWya2USmjMjKEmBJh5A+s0Sm5J5PVE 7uuAeJ6v9qqvRo5Ac43XM2HQqpk7FaeJFsC3W4scazZHmI2OEfZBWeNoem+I5nWSNF 9Pobqaw9ShSFnL2Bb7GbaXUjvJ9xbqJtjlls3NdHfj0PaqmoYu9ovNHemu8W4q8ICw zKymKoS8f5WjJphpOZFTZmqDgugBL9r4ggGRd17rn787M6se9cNEd3PW/NBzksRI5p IOWp3Sh3SvTViEXjsqiKPFiKe9XJBvC7CPm1anTc7uiC9Xva5F/ZPkT4wW+DSQuUiT k853Gh/qEOTAA== Date: Tue, 9 Apr 2024 18:34:04 -0700 From: Jakub Kicinski To: Romain Gantois Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Russell King , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Thomas Petazzoni , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, "Russell King (Oracle)" , Maxime Chevallier Subject: Re: [PATCH net-next v2 3/5] net: stmmac: dwmac-socfpga: use pcs_init/pcs_exit Message-ID: <20240409183404.7d3eb04f@kernel.org> In-Reply-To: <20240409-rzn1-gmac1-v2-3-79ca45f2fc79@bootlin.com> References: <20240409-rzn1-gmac1-v2-0-79ca45f2fc79@bootlin.com> <20240409-rzn1-gmac1-v2-3-79ca45f2fc79@bootlin.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-Transfer-Encoding: 7bit On Tue, 09 Apr 2024 11:21:46 +0200 Romain Gantois wrote: > + struct regmap_config pcs_regmap_cfg = { > + .reg_bits = 16, > + .val_bits = 16, > + .reg_shift = regmap_upshift(1), This appears to displease the compiler: drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:389:16: error: call to undeclared function 'regmap_upshift'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | .reg_shift = regmap_upshift(1), | ^ -- pw-bot: cr