Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3782300pxb; Tue, 19 Apr 2022 09:42:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBsMzvMDMpaXEkAImVN5VHgkHFvLcZQs9CO8KWbPDQDyLfOdK7UT2Kq/H9npic7JApSm44 X-Received: by 2002:a05:6402:34d2:b0:423:e6c4:3e9 with SMTP id w18-20020a05640234d200b00423e6c403e9mr10916147edc.372.1650386538948; Tue, 19 Apr 2022 09:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650386538; cv=none; d=google.com; s=arc-20160816; b=YZgbYRjB/5QpK598NiJ5CSlPlABWKwfWCnTV+ZgQB3ydu2huysE667w2wEUZj7Tx6Y SMeLVwqXQo7jd/dZtNuJahIqnFX/y+Enikybt8h23vCeEXgbPkOp0ks4FAwIfTTGqNxX tp8YGbwyzY6ZR2Yctl2kvWrK+bg7EfA6XGXC/fI42OnHMCUXOeL+VKeEkUaG9yj0YEln DsGlLC5++82auzD9d02hP0y7m7GzRyo/7ogdnOdsQVzxTlaO36UBZ5phzcwAnLg4fIbp /x58wjgzdjw8bIUu5RadRULSCpGPRPj3yt1+GC+ENJRqohLFZ4nrzf12FYWDkU6IsZTD r4hg== 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=Z+gBqzCs/FWAnX5UcflZ0jynkhdZQq2o7vkT5XhQq6tRYhBPATZraEg01T9gMH1io2 pYjoX2fgaxJ+6W56TfHbqZsZ9Sx7j3c/HeV7oJS21QmfzIPtis7BikYUlB5gpZWXAkXu cVr1p3CJG/eWbNj96/dvSL8peGPQ+fZnyEwblMM9vZqfmWuOmvty1AJIjSUOAHdVTEsP XiLk25xTgn8jf4iiLDE/9UNimhrGeq16wYEcH4M56z1IWF4y+d2GQPF8DGHDHqk4t8ng MFF7uD910WTIB1YIh7RYx3hAXlTFeG+tQ92lWcmFjAdtgBVIrzR37B2tTMGRBfcYoAxN fXAA== 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 g16-20020a1709064e5000b006dfe0324d32si8813238ejw.343.2022.04.19.09.41.54; Tue, 19 Apr 2022 09:42:18 -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 S1348094AbiDSDgQ (ORCPT + 99 others); Mon, 18 Apr 2022 23:36:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347297AbiDSDfl (ORCPT ); Mon, 18 Apr 2022 23:35:41 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4460D2BB0E; Mon, 18 Apr 2022 20:32:56 -0700 (PDT) Received: from kwepemi500004.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Kj8Wj6GFSzdZnb; Tue, 19 Apr 2022 11:32:49 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by kwepemi500004.china.huawei.com (7.221.188.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 19 Apr 2022 11:32:54 +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; Tue, 19 Apr 2022 11:32:54 +0800 From: Guangbin Huang To: , CC: , , , , Subject: [PATCH V2 net-next 6/9] net: hns3: update the comment of function hclgevf_get_mbx_resp Date: Tue, 19 Apr 2022 11:27:06 +0800 Message-ID: <20220419032709.15408-7-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220419032709.15408-1-huangguangbin2@huawei.com> References: <20220419032709.15408-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: dggems703-chm.china.huawei.com (10.3.19.180) 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