| Message ID | E1vxjNe-0000000Br1W-1nOG@rmk-PC.armlinux.org.uk (mailing list archive) |
|---|---|
| State | New |
| Headers |
Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 89CC93932FC for <linux-sunxi@lists.linux.dev>; Wed, 4 Mar 2026 10:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772619795; cv=none; b=dtx2c0UPAK/2vxDYcBxBw0f0ykIETDvfPdjolhlDyXSxXirWJi7yS+B5D9fJ/7+UtLWP77H41xheDordKW6v1Anr0mpIAzcsp40bTrx1+IjHaV8raEDzbkHiVxoHfRpYV5v5WAY3+8P+5oSQsl8LA+lY9RQHWPswEELrSNmLdt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772619795; c=relaxed/simple; bh=bdmhJXYgp6hiwq2GvdcrhMN8527Ns07T1i4rMd9dmYI=; h=In-Reply-To:References:From:To:Cc:Subject:MIME-Version: Content-Disposition:Content-Type:Message-Id:Date; b=MBymcTQVvkWJaxsd2m07FriZySy8JLz7PmBRYJkHrw5cbYzt4egcSsDpEsOwLREQCRiJ8seqYgChKctPmpCbmDtqTS25K3dgmyAR5QU+b4ZzRDRo1QjvUZx/RRXYe63DbAMwOBNqr3I32sud1gkUq08NlFLppPJvsmiQdZJhSJY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=Da3v+Z3B; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="Da3v+Z3B" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JXAuD3nUVcKQxQuqoS4zKPyRKQFd55XZkokpVdQy2cE=; b=Da3v+Z3BmPyBn5Iv7+wde9Bv3/ gSlPdBaktNiDva8cRyRxAnPc7nVVaUT8F6r3HRe9O1asNjcaVA5ZRcAmbXXbdXQvt4EEab07bwQAj hghI+IhiiFsuVCJGw0gPNzhvRUvWbBWvTPHdYj7Cl2icO3KTUSvLhbtg2Scbnp/IR/xkPiacOhWNC poYzl4m1iNGX5hdt/c/eCyQ7J4jfQIIYoEwXiU1iq9yPjL6VkDmu+uzw/X3rX0lTdNImB3zo1Vy25 +Xj4TYvc+piZsNqktq1rjGzMjKq5ySISNMPuLoMp40TnsfiT3RcCqRESKt0SBXDWKfkRGfgfoNc+q WNvqZ9Ig==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:60830 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from <rmk@armlinux.org.uk>) id 1vxjNg-000000006Ml-0Mhs; Wed, 04 Mar 2026 10:23:04 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.98.2) (envelope-from <rmk@rmk-PC.armlinux.org.uk>) id 1vxjNe-0000000Br1W-1nOG; Wed, 04 Mar 2026 10:23:02 +0000 In-Reply-To: <aagH023pvswd0tlT@shell.armlinux.org.uk> References: <aagH023pvswd0tlT@shell.armlinux.org.uk> From: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk> To: Andrew Lunn <andrew@lunn.ch> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>, Andrew Lunn <andrew+netdev@lunn.ch>, Chen-Yu Tsai <wens@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, Samuel Holland <samuel@sholland.org> Subject: [PATCH net-next 7/8] net: stmmac: mdio_bus_data->default_an_inband is boolean Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: <linux-sunxi.lists.linux.dev> List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: <E1vxjNe-0000000Br1W-1nOG@rmk-PC.armlinux.org.uk> Sender: Russell King <rmk@armlinux.org.uk> Date: Wed, 04 Mar 2026 10:23:02 +0000 Status: O |
| Series |
net: stmmac: mdio related cleanups
|
|
Commit Message
Russell King (Oracle)
March 4, 2026, 10:23 a.m. UTC
default_an_inband is declared as an unsigned int, but is set to true/
false and is assigned to phylink_config's member of the same name
which is a bool. Declare this also as a bool for consistency.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
include/linux/stmmac.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index 2fc169c7117e..678d03d6d3bd 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -86,10 +86,10 @@ struct stmmac_priv; struct stmmac_mdio_bus_data { unsigned int phy_mask; unsigned int pcs_mask; - unsigned int default_an_inband; int *irqs; int probed_phy_irq; bool needs_reset; + bool default_an_inband; }; struct stmmac_dma_cfg {