On 7/5/2020 11:29 AM, Andrew Lunn wrote: > The MIPS low level register access functions seem to be missing > __iomem annotation. This cases lots of sparse warnings, when code s/cases/causes/g > 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. > > Cc: Sunil Goutham <sgout...@marvell.com> > Cc: Robert Richter <rrich...@marvell.com> > Signed-off-by: Andrew Lunn <and...@lunn.ch> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [PATCH net-next 3/7] net: phy: Properly define genphy_c45... Andrew Lunn
- Re: [PATCH net-next 3/7] net: phy: Properly define g... Florian Fainelli
- [PATCH net-next 4/7] net: phy: Make phy_10gbit_fec_featu... Andrew Lunn
- Re: [PATCH net-next 4/7] net: phy: Make phy_10gbit_f... Florian Fainelli
- [PATCH net-next 5/7] net: phy: dp83640: Fixup cast to res... Andrew Lunn
- Re: [PATCH net-next 5/7] net: phy: dp83640: Fixup ca... Florian Fainelli
- Re: [PATCH net-next 5/7] net: phy: dp83640: Fixu... Richard Cochran
- [PATCH net-next 7/7] net: phy: mdio-octeon: Cleanup modul... Andrew Lunn
- Re: [PATCH net-next 7/7] net: phy: mdio-octeon: Clea... Florian Fainelli
- [PATCH net-next 6/7] net: phy: cavium: Improve __iomem me... Andrew Lunn
- Re: [PATCH net-next 6/7] net: phy: cavium: Improve _... Florian Fainelli