Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1675233pxb; Sat, 16 Apr 2022 17:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe06yhDDePkC0JK/tzwkWchA3pLarUwt05yJkSLuR5fMJHGpWZssBmaX8mBRVYAmpSU39F X-Received: by 2002:a17:902:7e0d:b0:158:cedb:3683 with SMTP id b13-20020a1709027e0d00b00158cedb3683mr4899351plm.108.1650154395717; Sat, 16 Apr 2022 17:13:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650154395; cv=none; d=google.com; s=arc-20160816; b=J1EgEOL3o9cMzt9B86SwvUB0rUSpL6HUTwC8zw+0PFGUguOrLeCd2GdJe/au/bs/f6 JZeTeOTGHJLx3mjQEtnsJf99XlE2uF6TCVMK4WyVGz8gJJ6cZDZOcHDtKNUUMIx7GjAc cK/3yyoqQJfqJkCf7fsUi668pDObqJvD40xx0XjZdl9AtHjsufUUqvY2FaPUsqQmGoDw 8cH/K8lczWnMet6mw1aMcLJ6vjQOhNGTlVjqtIZXUQ4edjvm4wTXppFiqyndYBdd/wOc 8gFky+X1Bkmc33lYP710m0IFg28KUhytPN++aaIEhLHd9gobQ0D1wuXKhU0FEkK58c4o F7tA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2mTGxVFfcB/tZAzerFDJHughqOARRJjJgj6XIwcPnFs=; b=0qxDX3Alx6jo+2IM1nlch0ygUPfhHeSPCHz+JZCyGEVW9M9rfjOZroyAJTSE93Ru1D fKvbZyQzd8tuRUQN/+q15M+GL/GTf3DK2jflwWRkq5kz++Pl1OLuZclvRzDo4ldNw1mw esr4qx5IgDKF9ycwf4zLGzYsCa608cCTK3Z8hRElxxzxYtf4h4fPa3/yBBYNwt0nnFTe jSwgTqpKN/hV7KQetgFWPlNNfsb5ORSXm2SEbIopCjZMGk5G2AtVMS4FuZr9b4FOiq9P KLeWmBuNd7DzvymMdySiF0+jSfe3K/x5nT50xFrkpCRd3spduSQ2PDXJF/D/uuAJWtFP 0aow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a170902db0100b001589d3ae40dsi4724835plx.505.2022.04.16.17.13.00; Sat, 16 Apr 2022 17:13:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231270AbiDPJWc (ORCPT + 99 others); Sat, 16 Apr 2022 05:22:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbiDPJWA (ORCPT ); Sat, 16 Apr 2022 05:22:00 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7155B49F07; Sat, 16 Apr 2022 02:19:29 -0700 (PDT) Received: from kwepemi500018.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KgSG22Bl0zCr34; Sat, 16 Apr 2022 17:15:06 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by kwepemi500018.china.huawei.com (7.221.188.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 16 Apr 2022 17:19:27 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sat, 16 Apr 2022 17:19:26 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH net-next 6/9] net: hns3: update the comment of function hclgevf_get_mbx_resp Date: Sat, 16 Apr 2022 17:13:40 +0800 Message-ID: <20220416091343.35817-7-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220416091343.35817-1-huangguangbin2@huawei.com> References: <20220416091343.35817-1-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li The param of function hclgevf_get_mbx_resp has been changed but the comments not upodated. This patch updates it. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c index d5e0a3f762f7..4761dceccea5 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c @@ -32,8 +32,10 @@ static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev) /* hclgevf_get_mbx_resp: used to get a response from PF after VF sends a mailbox * message to PF. * @hdev: pointer to struct hclgevf_dev - * @resp_msg: pointer to store the original message type and response status - * @len: the resp_msg data array length. + * @code0: the message opcode VF send to PF. + * @code1: the message sub-opcode VF send to PF. + * @resp_data: pointer to store response data from PF to VF. + * @resp_len: the length of resp_data from PF to VF. */ static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1, u8 *resp_data, u16 resp_len) -- 2.33.0