Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1155518pxj; Sat, 15 May 2021 05:39:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymGO5OEZ/rJNeAfMXK7b47X6h3247cEPsfNxZR/KRKebcSx+xskU8GpcJ3vK6zXeVSjm5k X-Received: by 2002:a17:906:2ec6:: with SMTP id s6mr29206589eji.65.1621082396263; Sat, 15 May 2021 05:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621082396; cv=none; d=google.com; s=arc-20160816; b=BlB2iX/8/NE8QHQMtirslN/TyOdeCLjQ+CvlqFNc3B0lsrVLj30FTYVnqf6Ytpao38 VlMWcXClEF3HOJogNkAMYVt5+XesFUCsNemrH6TfIzsqZ6EHytmrlX1DFHWufysFaCEH w/vOxMzdbDUUF9zZ87pBZ6naXZZ8Wdb1R1PBxuP2CH3bAWqDZbLOpireeMGxmeQK3Otx 5U0128rv3pJlXdxecYO3QTzuX9VaChh9TdMz9jy4TvcWBHyDAnkGMo3JjyBNWj/c2iDl jUDeeAvdTA5oTIcBY5J6bRi14tvRDrTfhpV9NhhEUuPaU8So+lxYk8qKLSiYB60oK0vg 1PNA== 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=XrodPagwUqgSnV8wtFVSKk6xYk5mfX4G/FznUMeOZyw=; b=AGiElfEEoLY/tSJntBJcz9ewdzFrlf7nGtigUfF6VmYSqhb6ACEsfogU7+SqiO//R0 NUFAcP5oIf2yXWzNi4wF5k5NEmEDkqdNo+SGRoPeEQkP7A75tO6sk6XShjuf60ZCtKrJ sxi6vSSUOnFnyPGt23zBdXq2CAiTxMWJK7blbvyc6f3BKjUp5ely5wzErXrbcTD9Z6ev E8GNAUHxgxwYjG9eA/diS+UrIaiEfPUH7cy/saqnX6YnaNhB+ATaPM6tcucHD42N+J8H qXQhNchYisLURj4fPqqz1vg9YhkgmTaHcOSKUzGwA595Vjuf1CG4FNz3Wgnu5BSnnV5B b8Eg== 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 ah12si1995673ejc.252.2021.05.15.05.39.33; Sat, 15 May 2021 05:39:56 -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 S230053AbhEOK7Z (ORCPT + 99 others); Sat, 15 May 2021 06:59:25 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3542 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232137AbhEOKz4 (ORCPT ); Sat, 15 May 2021 06:55:56 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jn5g1CzsRHh; Sat, 15 May 2021 18:51:53 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Sat, 15 May 2021 18:54:25 +0800 From: Yang Shen To: , CC: , , Yang Shen , Jon Mason Subject: [PATCH 15/34] net: neterion: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:40 +0800 Message-ID: <1621076039-53986-16-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> References: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/neterion/s2io.c:2759: warning: expecting prototype for s2io_poll(). Prototype was for s2io_poll_msix() instead drivers/net/ethernet/neterion/s2io.c:5304: warning: expecting prototype for s2io_ethtol_get_link_ksettings(). Prototype was for s2io_ethtool_get_link_ksettings() instead Cc: Jon Mason Signed-off-by: Yang Shen --- drivers/net/ethernet/neterion/s2io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index 9cfcd55..27a65ab3 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c @@ -2743,7 +2743,7 @@ static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) } /** - * s2io_poll - Rx interrupt handler for NAPI support + * s2io_poll_msix - Rx interrupt handler for NAPI support * @napi : pointer to the napi structure. * @budget : The number of packets that were budgeted to be processed * during one pass through the 'Poll" function. @@ -5288,7 +5288,7 @@ s2io_ethtool_set_link_ksettings(struct net_device *dev, } /** - * s2io_ethtol_get_link_ksettings - Return link specific information. + * s2io_ethtool_get_link_ksettings - Return link specific information. * @dev: pointer to netdev * @cmd : pointer to the structure with parameters given by ethtool * to return link information. -- 2.7.4