[PATCH] net: mdio-octeon: Fix build error and Kconfig warning
willy at infradead.org
Sat Aug 3 01:39:52 UTC 2019
On Fri, Aug 02, 2019 at 06:30:31PM -0700, Nathan Chancellor wrote:
> On Fri, Aug 02, 2019 at 06:11:32PM -0700, David Miller wrote:
> > The proper way to fix this is to include either
> > linux/io-64-nonatomic-hi-lo.h
> > or
> > linux/io-64-nonatomic-lo-hi.h
> > whichever is appropriate.
> Hmmmm, is that not what I did?
> Although I did not know about io-64-nonatomic-hi-lo.h. What is the
> difference and which one is needed here?
Whether you write the high or low 32 bits first. For this, it doesn't
matter, since the compiled driver will never be run on real hardware.
> There is apparently another failure when OF_MDIO is not set, I guess I
> can try to look into that as well and respin into a series if
Thanks for taking care of that!
More information about the devel