diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-07-07 03:49:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-07 12:47:11 -0700 |
commit | c7b04d1030f505f2d883612ed31a6ddd70182705 (patch) | |
tree | bdcfa226199a1b00f75300a4ba2458353446277a /kernel/compat.c | |
parent | 82e7627fd4d8592be2acb908943fb943c440840d (diff) | |
download | linux-c7b04d1030f505f2d883612ed31a6ddd70182705.tar.bz2 |
net: phy: cavium: Improve __iomem mess
The MIPS low level register access functions seem to be missing
__iomem annotation. This causes lots of sparse warnings, when code
casts off the __iomem. Make the Cavium MDIO drivers cleaner by pushing
the casts lower down into the helpers, allow the drivers to work as
normal, with __iomem.
bus->register_base is now an void *, rather than a u64. So forming the
mii_bus->id string cannot use %llx any more. Use %px, so this kernel
address is still exposed to user space, as it was before.
v2: s/cases/causes/g
Cc: Sunil Goutham <sgoutham@marvell.com>
Cc: Robert Richter <rrichter@marvell.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions