]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: convert priv->sph* to boolean and rename
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 18 Nov 2025 09:41:33 +0000 (09:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Nov 2025 16:32:38 +0000 (08:32 -0800)
commit7ac60a14d3fce87f0bfd0e50a7bfd5e683c33817
treefd888868c7e476a5ca23e06226cb01a34be8f4b5
parentd7dbda87892039f19805b896d1fe0fa75aca1b06
net: stmmac: convert priv->sph* to boolean and rename

priv->sph* only have 'true' and 'false' used with them, yet they are an
int. Change their type to a bool, and rename to make their usage more
clear.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1vLIDN-0000000Evur-2NLU@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c