]> git.baikalelectronics.ru Git - kernel.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)
commitb63548143e5ccd97da6c315034a81bd18c1ca788
tree7e89c6f2bc92b65c190e1e535d455721474566b1
parentd1fc0852870832f3323f684fee63feda8f5738b8
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