summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2018-11-12 15:00:20 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-14 01:29:59 +0100
commitd0e14c4d9bcef0d4aa1057d2959adaa6f18d4a17 (patch)
treee7af153001770bd9c4ffd2758c9bdaf5489839e5 /drivers/net/ethernet/ti
parentnet: phy: check if advertising is zero using linkmode_empty (diff)
downloadlinux-d0e14c4d9bcef0d4aa1057d2959adaa6f18d4a17.tar.xz
linux-d0e14c4d9bcef0d4aa1057d2959adaa6f18d4a17.zip
net: ethernet: ti: cpts: correct debug for expired txq skb
The msgtype and seqid that is smth that belongs to event for comparison but not for staled txq skb. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r--drivers/net/ethernet/ti/cpts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index b96b93c686bf..dac4c528a1ff 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -119,9 +119,7 @@ static bool cpts_match_tx_ts(struct cpts *cpts, struct cpts_event *event)
if (time_after(jiffies, skb_cb->tmo)) {
/* timeout any expired skbs over 1s */
- dev_dbg(cpts->dev,
- "expiring tx timestamp mtype %u seqid %04x\n",
- mtype, seqid);
+ dev_dbg(cpts->dev, "expiring tx timestamp from txq\n");
__skb_unlink(skb, &cpts->txq);
dev_consume_skb_any(skb);
}