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: 10678677 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 441F514BA for ; Mon, 12 Nov 2018 14:01:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3441729C7C for ; Mon, 12 Nov 2018 14:01:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28A2629C62; Mon, 12 Nov 2018 14:01:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C55FD29C49 for ; Mon, 12 Nov 2018 14:01:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729815AbeKLXx6 (ORCPT ); Mon, 12 Nov 2018 18:53:58 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46887 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729738AbeKLXx6 (ORCPT ); Mon, 12 Nov 2018 18:53:58 -0500 Received: by mail-lj1-f195.google.com with SMTP id v15-v6so7672818ljh.13 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=RAP8opbJ15AmHjsCWz6vbnS581HR/4kqgGHD74eXSy5aSvY/b4o5EW3et9pC5ntTRu zJ0cieoIfvelTwtewECMYacel7b9pZT1EvFWdnuQQTjf3j+JAGjlF67g2tCjqwfcDnZ4 MNH7PeXyjOTzpaQ/pd6MqEcOvTHshKNd4D1m7KyPODjnrnJQl81kZTcawM1CHzmCvJQm R7zmOPDd8gyWf83Vcsip75isTKlhNvtZuT+je5W1G61ZYr+5uHw8iichV34K27OAWOfR pRrOzLJNyTI3lSRuP4HzZJY2HyrLWA0o+DNRkcofzomCMb/qt6SjKFNfu317Krj4MgSo Xe3w== X-Gm-Message-State: AGRZ1gKEgG3hlEGGZUIVyY9xZEAsPi6OVXdoweb/TIElZxXKFhjRz+gB 5xuc39tV8eQxD2gcvwTF10mdYg== X-Google-Smtp-Source: AJdET5esmymXT6fLXCa7Mj961u2D4j/pvGFlzbCQIuZ3/vnb6Sk+cD2gszp79f2n05jGMW5mH0oWZw== 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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); }