Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3352969pxb; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8L4EhMsRipCqTJE+D75XNesNGz1XW/MAIAUv+YXYjRUmxVLCUyN0z53WBau0vElwPak+h X-Received: by 2002:a50:cc04:: with SMTP id m4mr3704803edi.358.1630304000071; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630304000; cv=none; d=google.com; s=arc-20160816; b=Ewvm7L3yswHcKYvdon+IVET9C7rcG0a1bg3X+THXilQ4T6WvpJObXA9MpTJvnvJSHv uGk4j5sAxJU3c+2BLVSmxdopRZcbtvfVE73Qhf0lbAQUqerLpbV5fXI3sBHtqt/8jUdd qIsiXJUjmzf97rhqg++4tHZx9qmW7hkjs/oygDrtuOLZWWzdWzjzpe9sKqXmZTmNgKJe ZXTjB+/aMnwqLLzue4J86h8b1Z4J9pIsGlBAYPDlmOP5PcoWWcuuIWtw2kcpjZ7vrT2F HXlmM+VfthypqTbnbBXAQHdWlit7Q7JmSVXmTJNIqwd8TZ7NBPO39wA5gCK1jT8PVlPV Zajw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=fj+XE3RulAYtOBDZACGTtLTyNfmW5LBo+H5tZogluIU=; b=initV8mKolEm0DTwbk12hfOVG8dnLVc+lnMlXpIGrtgU9e1BficNC5FFpWVbeRUt7T NhIUfzABAOborOnRZ2PDMZTyOEZLoHixjFQU5LlTnTKA+a+xs4myw6Ay2U0sPrzpA+aI 9Rrhd6sLbmyttRjPbbYx5MGbYeNeJUBBrC3SUU/T+rEXKYpJJI2/sXjcjBAMfUDhpYMp 0otlN4d/5MjswYKhMmGJdBQAxqVqBEeGlySvP6cioLWyH319Ecw24014bH6ZtvlgTUzj YB8gLkkoco8uphDqR5DqBf1eCbViSMrJ3EENalDJirzkoDOZN/eHx0xyU3LHJewaMySc nITw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si2340276ejm.97.2021.08.29.23.12.38; Sun, 29 Aug 2021 23:13:20 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232853AbhH3GLc (ORCPT + 99 others); Mon, 30 Aug 2021 02:11:32 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:15226 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231911AbhH3GLb (ORCPT ); Mon, 30 Aug 2021 02:11:31 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Gyg052kfxz1DDvR; Mon, 30 Aug 2021 14:09:57 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 30 Aug 2021 14:10:36 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Mon, 30 Aug 2021 14:10:36 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 5/7] net: hns3: modify a print format of hns3_dbg_queue_map() Date: Mon, 30 Aug 2021 14:06:40 +0800 Message-ID: <1630303602-44870-6-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1630303602-44870-1-git-send-email-huangguangbin2@huawei.com> References: <1630303602-44870-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hao Chen The type of tqp_vector->vector_irq is int, so modify its print format to "%d". Signed-off-by: Hao Chen Signed-off-by: Guangbin Huang --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c index 481179ac932f..1ec91435d0b4 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -695,7 +695,7 @@ static int hns3_dbg_queue_map(struct hnae3_handle *h, char *buf, int len) sprintf(result[j++], "%u", i); sprintf(result[j++], "%u", h->ae_algo->ops->get_global_queue_id(h, i)); - sprintf(result[j++], "%u", + sprintf(result[j++], "%d", priv->ring[i].tqp_vector->vector_irq); hns3_dbg_fill_content(content, sizeof(content), queue_map_items, (const char **)result, -- 2.8.1