]> 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)
commit75b3f8c3106ca7a9e489f68cb7e41a091611824c
tree7e89c6f2bc92b65c190e1e535d455721474566b1
parent8753c2e4f3df7f4cef31b02481b6d8f752f422e5
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