net: ethernet: aquantia: return -ETIME in macro AQ_HW_WAIT_FOR
authorColin Ian King <colin.king@canonical.com>
Fri, 27 Jan 2017 15:06:46 +0000 (15:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:24:00 +0000 (18:24 -0500)
commit1a28242bac44b9eb24fb2e84131256cb3c63372c
tree2d3923c79d1c4e5b576ece38444fd9d4729c907d
parentf81e5ca9155e8b4527662aa66ba984f58257ccdb
net: ethernet: aquantia: return -ETIME in macro AQ_HW_WAIT_FOR

The macro is returning ETIME which means various checks to see if
the returned err is less than zero never work. I believe a -ETIME
should be returned instead.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_hw_utils.h