diff options
author | Tobias Waldekranz <tobias@waldekranz.com> | 2022-01-18 22:50:53 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-19 08:14:18 -0800 |
commit | 3f7c239c7844d2044ed399399d97a5f1c6008e1b (patch) | |
tree | 783e98169a5fc339f7f3ec409cf495c01a4cf0de /net | |
parent | 0d375d610fa96524e2ee2b46830a46a7bfa92a9f (diff) | |
download | linux-3f7c239c7844d2044ed399399d97a5f1c6008e1b.tar.gz linux-3f7c239c7844d2044ed399399d97a5f1c6008e1b.tar.bz2 linux-3f7c239c7844d2044ed399399d97a5f1c6008e1b.zip |
net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
As reported by sparse: In the remove path, the driver would attempt to
unmap its own priv pointer - instead of the io memory that it mapped
in probe.
Fixes: 9f35a7342cff ("net/fsl: introduce Freescale 10G MDIO driver")
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions