]> git.karo-electronics.de Git - karo-tx-linux.git/commit
amd-xgbe: Prevent looping forever if timestamp update fails
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 28 Jun 2017 18:42:07 +0000 (13:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:14:16 +0000 (15:14 -0400)
commit9018ff5331a64aa9e6dd600345bb1d087684fdff
tree7e89c6f2bc92b65c190e1e535d455721474566b1
parent93845d5f1b3c3878fdeb6275f1928217ec0c9ff2
amd-xgbe: Prevent looping forever if timestamp update fails

Just to be on the safe side, should the update of the timestamp registers
not complete, issue a warning rather than looping forever waiting for the
update to complete.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-dev.c