]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'net-readx_poll_timeout'
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 May 2019 00:00:47 +0000 (20:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 May 2019 00:00:47 +0000 (20:00 -0400)
Benedikt Spranger says:

====================
Convert mdio wait function to use readx_poll_timeout()

On loaded systems with a preemptible kernel both functions
axienet_mdio_wait_until_ready() and xemaclite_mdio_wait() may report a
false positive error return.
Convert both functions to use readx_poll_timeout() to handle the
situation in a safe manner.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge