summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-05 13:42:57 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-07 02:39:10 +0300
commit3cd963fa915c494a6d0da0287bd10cb6f2204f9e (patch)
tree6d9fc3f051b10d2139006b46de23fa32dee51e90 /include/linux
parenta64d927aecf17827a02976fef8ba7b7b04a4b26f (diff)
downloadlinux-3cd963fa915c494a6d0da0287bd10cb6f2204f9e.tar.xz
net: stmmac: mdio_bus_data->default_an_inband is boolean
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> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1vy6AT-0000000BtxD-2qm7@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/stmmac.h2
1 files changed, 1 insertions, 1 deletions
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 {