]> Gentwo Git Trees - linux/.git/commit
net: stmmac: Change first parameter of fix_soc_reset()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Mon, 11 Aug 2025 07:35:05 +0000 (15:35 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Aug 2025 23:27:42 +0000 (16:27 -0700)
commit139235103f6039c2c77cb8f51cb2e7e610fe0114
tree5d5fcb061dddf4e02518d5f2aa529eebedcc4db8
parent6896c2449a1858acb643014894d01b3a1223d4e5
net: stmmac: Change first parameter of fix_soc_reset()

In order to use netdev_err() to print message in the callback function of
fix_soc_reset(), change fix_soc_reset() to have "struct stmmac_priv *" as
its first parameter.

This is preparation for later patch, no functionality change.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://patch.msgid.link/20250811073506.27513-3-yangtiezhu@loongson.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c
drivers/net/ethernet/stmicro/stmmac/hwif.c
include/linux/stmmac.h