summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/tile
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-05-04 23:56:07 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-05 00:07:14 +0300
commit3e66bab33f2a32630616d335dbf4965896eb159f (patch)
tree27b1c190a0940789aaf5c07ce8567feb1fc35bb3 /drivers/net/ethernet/tile
parent5c2a9644d05e98b3c06b073351cd363ff91b22e8 (diff)
downloadlinux-3e66bab33f2a32630616d335dbf4965896eb159f.tar.xz
drivers: fix dev->trans_start removal fallout
kbuild test robot reported a build failure on s390. While at it, also fix missing conversion in the tilera driver. Fixes: 9b36627acecd5792 ("net: remove dev->trans_start") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/tile')
-rw-r--r--drivers/net/ethernet/tile/tilepro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c
index 0bb98bc70c9d..922a443e3415 100644
--- a/drivers/net/ethernet/tile/tilepro.c
+++ b/drivers/net/ethernet/tile/tilepro.c
@@ -2026,7 +2026,7 @@ static void tile_net_tx_timeout(struct net_device *dev)
{
PDEBUG("tile_net_tx_timeout()\n");
PDEBUG("Transmit timeout at %ld, latency %ld\n", jiffies,
- jiffies - dev->trans_start);
+ jiffies - dev_trans_start(dev));
/* XXX: ISSUE: This doesn't seem useful for us. */
netif_wake_queue(dev);