Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1157495pxb; Fri, 27 Aug 2021 02:35:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhOl4cnbmLs1GtbFHOYhPxBLNY7LDweXCQPTQ9WJw7GlKqd2L2hdctRA6r9fWB8dkiJnqg X-Received: by 2002:a5e:a813:: with SMTP id c19mr6716823ioa.199.1630056910419; Fri, 27 Aug 2021 02:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630056910; cv=none; d=google.com; s=arc-20160816; b=bPM7ERgROWgxwqV+7Md2a4Q4JwyIlXQlae+sjY9Ymb2Mx5iO3W8gAOqVCMFl0tzXvL cGf2uZpiVBR/frdfReb4cE8D6JlOtKMvZjL6Ax5TSmG40UcIU0AN4zq98ypBbUhH/A2F X3nb2RiLrK8UDxL+ZQw1U58XfAC764T3gWlRnWweYY5CsMH+G8FoDNzOQAPbq2kB2QAu TUDCH7Pu7oI1x+SkAHFkIQsJ76u2W9jQxolHZM9wgk+08lOYaDgyZGH2t5O/Hzf0cKjq 0kI+ZDaQoI4UpoV4KY3nivngwYse0ShUPsvVQeMnegmE/YKw7agAEh0dBhCVB883Lwr4 2Gqg== 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=ojB/rcLkoB9l4jDIVHIFHIqN1Xlwbb2ih5fXc0hAPCA=; b=aWxrLzpk4QTGYtRngvx9OcR10iZp4G0oPrpPLR99YhU1bPfURYtiuM87iFrH43cam1 +zgE54Mmq+oIT5+Q7ews7NpqCPWzEzlB6hc8c5m99hqodThb7YzUs+wb40upKCTo6x1r 2P0JT8iI05u2yFFjddUhI2ET0laC0DED2pg5pXZLLLGwCtg/HD1Vy9lzrjNjb5nFJCUG FTUnW/OMzOh6Xyg8t1NGdlYFcx3xDrLSbXZmzRnHdp4xrsCdsM1ggn8/RNgjDt7zszBd zrgT4MkauSRI0/NRmOLW7J0cKO1gwJjqHUQ1ptrvFA7H5btR7UrtM9n6cSOiu6n66OHI IWNA== 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 x13si6244044ilu.41.2021.08.27.02.34.58; Fri, 27 Aug 2021 02:35:10 -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 S244937AbhH0Jdl (ORCPT + 99 others); Fri, 27 Aug 2021 05:33:41 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:9371 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244748AbhH0JdJ (ORCPT ); Fri, 27 Aug 2021 05:33:09 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4GwvX90SNDz8vgb; Fri, 27 Aug 2021 17:28:09 +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; Fri, 27 Aug 2021 17:32:17 +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.2176.2; Fri, 27 Aug 2021 17:32:17 +0800 From: Guangbin Huang To: , CC: , , , Subject: [PATCH net-next 8/8] net: hns3: uniform type of function parameter cmd Date: Fri, 27 Aug 2021 17:28:24 +0800 Message-ID: <1630056504-31725-9-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1630056504-31725-1-git-send-email-huangguangbin2@huawei.com> References: <1630056504-31725-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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 parameter cmd in function definition of hns3_dbg_bd_file_init and hns3_dbg_common_file_init is used type u32, this patch uniforms them in function declaration to type u32 too. Signed-off-by: Hao Chen Signed-off-by: Guangbin Huang --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c index 80461ab0ce9e..3e8ba7b62d1d 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -38,9 +38,8 @@ static struct hns3_dbg_dentry_info hns3_dbg_dentry[] = { }, }; -static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, unsigned int cmd); -static int hns3_dbg_common_file_init(struct hnae3_handle *handle, - unsigned int cmd); +static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd); +static int hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd); static struct hns3_dbg_cmd_info hns3_dbg_cmd[] = { { -- 2.8.1