diff options
author | Andrew Lunn <[email protected]> | 2020-07-07 03:49:38 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-07-07 12:47:11 -0700 |
commit | c7b04d1030f505f2d883612ed31a6ddd70182705 (patch) | |
tree | bdcfa226199a1b00f75300a4ba2458353446277a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 82e7627fd4d8592be2acb908943fb943c440840d (diff) |
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 <[email protected]>
Cc: Robert Richter <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions