[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190519175937.3955-1-b.spranger@linutronix.de>
Date: Sun, 19 May 2019 19:59:35 +0200
From: Benedikt Spranger <b.spranger@...utronix.de>
To: netdev@...r.kernel.org
Subject: [[PATCH net-next] 0/2] Convert mdio wait function to use readx_poll_timeout()
Hi,
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.
Regards
Benedikt Spranger
Kurt Kanzenbach (2):
net: axienet: use readx_poll_timeout() in mdio wait function
net: xilinx_emaclite: use readx_poll_timeout() in mdio wait function
drivers/net/ethernet/xilinx/xilinx_axienet.h | 5 +++++
.../net/ethernet/xilinx/xilinx_axienet_mdio.c | 16 ++++++----------
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 16 ++++++----------
3 files changed, 17 insertions(+), 20 deletions(-)
--
2.20.1
Powered by blists - more mailing lists