Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3701059pxb; Mon, 24 Jan 2022 15:46:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+uN01udXr5o7tME42tD/6CIJWUcSQG7LPC4kyzdIbOCZXLm3SIz7BWzpeHi06suhuMC6E X-Received: by 2002:a17:902:aa8f:b0:14a:ccfd:ca42 with SMTP id d15-20020a170902aa8f00b0014accfdca42mr16291664plr.52.1643067965438; Mon, 24 Jan 2022 15:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643067965; cv=none; d=google.com; s=arc-20160816; b=OBiUcWVvrH3jSkP93sZu1/+QKRbe6XncpqERC6onOalzAM/Z9CALg0TMfVaRo6b8hB sd2Q12PmLMxfYXFsszHoHyvL2cjDbwJvrUH72Jd854geLcK9pxPeX9+aqCs/tIawAi59 Swq8szFZ4OseEWcXLTo+ybSYxPKerdd8qWWlYfuYEUt2CeascmTHHDh6yYpHnuW7FiUF yFILCXKyu6Y4pQ0VmSHM2hF1+enMFxxUjWX8v5FV6M8Z3yOWXPSi0CUd/pC42yEE3Lp4 AEtAh5KuoRGnWscxvGZJ3CPSnUEWMXSZU5N8Akr8uhFU/4KyZmmBbtVZo0Wz++Py6KS3 r18Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=k9DyUyBtgHwNRlqUh+RON8UHE5f2TYvg9WsnzsKolpw=; b=xWq/7Db36S6N2mUPCiLopXdCXOFN8C7/+p3nxCq0HXStW5Zh8ctdcWcdQxGvQ1r3aX RjX0Pr63mV4yaXoscr/nTqoulHM3PiytTEMO2H4rMC2QCUyFnE+FzSTy2Y1OhfQhgoUh Z1zcXy9HNR1D80YtflJ6y2YDb3iGvFTKKD/HsXjG81EQLyQFIhdDp5qN6vnyyF3y+4vC eCplFeKksYhhJ8dvOJzE3bFFDqkOsyww32CcpBdSFAVWSENf/nk0fdMTmBJgxdCheKVt khsyUp5W7SvnhxMhpWlsg14ClqRhUP5gsPFqdps7TJEl0XKbo6AA2oT+ZscqUzK4wHE0 sGxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zbxbL3BU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si13731175plb.487.2022.01.24.15.45.52; Mon, 24 Jan 2022 15:46:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zbxbL3BU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2360331AbiAXXgc (ORCPT + 99 others); Mon, 24 Jan 2022 18:36:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1839864AbiAXWwC (ORCPT ); Mon, 24 Jan 2022 17:52:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 960B6C0EE124; Mon, 24 Jan 2022 13:08:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 32D2361361; Mon, 24 Jan 2022 21:08:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AB83C340E5; Mon, 24 Jan 2022 21:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058500; bh=wCfGmnqg8RDNFzmO5ZVCUAYTvgNwzU7QViE47riBEbU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zbxbL3BUVN3YoovtNYi9fdwC+ruPjqiNUMQDafzqHRMLHtY0uGEPnKU661V8pmaqR PhVt3yEOmF2GH38saCV5zpyq4Ayzambfz4VsYD62whKvAC0zY2DH7SsK1gNR2Cxgra C3QoQXCF1zH0j9OPMzCE6SdQ3DYW3uFgKRr8fiWM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Lorenzo Bianconi , Felix Fietkau , Sasha Levin Subject: [PATCH 5.16 0310/1039] mt76: debugfs: fix queue reporting for mt76-usb Date: Mon, 24 Jan 2022 19:34:59 +0100 Message-Id: <20220124184135.729212233@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lorenzo Bianconi [ Upstream commit eae7df016c30468e09481a75b1339f0ab5ece222 ] Fix number of rx-queued frames reported by mt76_usb driver. Reported-by: kernel test robot Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability") Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/debugfs.c b/drivers/net/wireless/mediatek/mt76/debugfs.c index b8bcf22a07fd8..47e9911ee9fe6 100644 --- a/drivers/net/wireless/mediatek/mt76/debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/debugfs.c @@ -82,7 +82,7 @@ static int mt76_rx_queues_read(struct seq_file *s, void *data) queued = mt76_is_usb(dev) ? q->ndesc - q->queued : q->queued; seq_printf(s, " %9d | %9d | %9d | %9d |\n", - i, q->queued, q->head, q->tail); + i, queued, q->head, q->tail); } return 0; -- 2.34.1