From patchwork Mon Nov 12 14:00:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 150834 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3174419ljp; Mon, 12 Nov 2018 06:00:37 -0800 (PST) X-Google-Smtp-Source: AJdET5f9j0HfCiWn9r5M/gJuYfjURE/PxAxQpUZcIOtAMGMxj9t7srxLrycI+HdkV7ECguzCiDPd X-Received: by 2002:a63:c447:: with SMTP id m7mr918600pgg.27.1542031237712; Mon, 12 Nov 2018 06:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542031237; cv=none; d=google.com; s=arc-20160816; b=DHGfQ1FggkvasyqKjS9UCBVfB2aTcFfkE7139PoAYCN58H+WlEiddgmsb9ndIXdV/6 qcGFi1mpwgrfSk5Un1YV4RxzxvJIZ4Og375hCn76Eupd+IwZL3luf4KzdNfNVueBnA9w JUQCLDjYEVbEmMOLEFW1jJnK2nD05TDYAjQKrecp8DRbSd14Wl0kF78adW2vv5xTXuNv hsQ8a9HjXQ90EFt4ZGAftCq978wEfuQQitNgwqOfPD2ZBrXeeTGEUjZkzU97qAVPeVIl gVvbyag+7W2+PxMAURLGkJjeZn895JXTd39uRzx/S18f3a1rROOhTbfJ3m+PMOR8SCom vXzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=V8urvcUPQ+tQ49xmHAyRhENzIqUDbp30F6VIaNi0cmM=; b=pQ/Mx/fw2jKPTtjG2eQZJQqy1wvBJgVcC+DOGXFFPlyrZRh1jkb2ZRKrMX5A8uHcac UD7hiNtBwLWnMDoGDU/YrONVKy4jDToGDxGQ/oPiqznkUW/nsIG+2Pv6Ib3PAlwwC+AL kIRT+k+BHakqmepEe5h/+gsf52sdt95V7ouU6iHpiMWmOlkGFgqKdN+Hl7Lh4y675LCr 6RYSK0e/XZm2jYuKNBCVmA4VWgJqggt0JsuFF0OL5aLBeVPOLytuZR5+pIdL4AqbntaW mwyoNqL7BX1X68vWsheY1QNm/TbbppdHWfmkSw0cMhVrwcqB7P/FiffovnsiMAejv3ME UpEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Oncwbz3m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si18123244pld.332.2018.11.12.06.00.37; Mon, 12 Nov 2018 06:00:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Oncwbz3m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729856AbeKLXx6 (ORCPT + 32 others); Mon, 12 Nov 2018 18:53:58 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:45443 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729730AbeKLXx5 (ORCPT ); Mon, 12 Nov 2018 18:53:57 -0500 Received: by mail-lj1-f193.google.com with SMTP id s5-v6so7669042ljd.12 for ; Mon, 12 Nov 2018 06:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=V8urvcUPQ+tQ49xmHAyRhENzIqUDbp30F6VIaNi0cmM=; b=Oncwbz3msYxF0pCpdIkqihPgvA1zWrHwsLawVWOtl7nYzIC8cCRAnkbfiqwXg4lPCt rOkYSpuhVI/+SasxBFxCsun7E7XXlniVR19EjQODPey02KPgeh//3Dtu/MGbULnq46C4 gy8Wi2F6RP9u8dzzVKLg6divoITuDy13+yUdA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V8urvcUPQ+tQ49xmHAyRhENzIqUDbp30F6VIaNi0cmM=; b=dPyOchpR6qpSgojfJ245cLHFlaE3c6wNgS/mE1+1fAhyiDLvRFYTswaqUgGeqKK46O oqcS6p96MAf/x6/Zmc8Yz5fCQ1YwJFWaxrukFW6l3G63Gc4KcP5uONDsP1hwrQDl5ye0 orqoLUZOcHTqqTziXGOJcShsdPdj3eP+aBV6h1m14MBCDcGS2pJHWSX66M0XGOpKxVft tfJvowhX04Il7jKmmwZtnkUokjrmJgbBeHY/VpRFT7OpT5Dpa3c9RStTcEWbNV8jRy4K KNPnCfgATuFgjEwt/jb2UAbubY36b3sucIFOMyyYnqCBc0qg0/PE9p5agFj61Ng6CzFm 3hVg== X-Gm-Message-State: AGRZ1gLaKYadfPuvnrXlQu2GsoD7FhRQET5UmX3LWHwmVzwnMci+3JbD cRdYs32j2owzLcEmYwMcvAnD5A== X-Received: by 2002:a2e:810b:: with SMTP id d11-v6mr661164ljg.143.1542031232259; Mon, 12 Nov 2018 06:00:32 -0800 (PST) Received: from localhost.localdomain (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id 26-v6sm3546387lje.18.2018.11.12.06.00.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Nov 2018 06:00:31 -0800 (PST) From: Ivan Khoronzhuk To: grygorii.strashko@ti.com, davem@davemloft.net Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH net-next 1/4] net: ethernet: ti: cpts: correct debug for expired txq skb Date: Mon, 12 Nov 2018 16:00:20 +0200 Message-Id: <20181112140023.12407-2-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181112140023.12407-1-ivan.khoronzhuk@linaro.org> References: <20181112140023.12407-1-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The msgtype and seqid that is smth that belongs to event for comparison but not for staled txq skb. Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.17.1 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); }