Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2622205pxj; Mon, 17 May 2021 06:06:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy54V7137y2BeqVg66ubYiIzDdXqaWDEbHoVqXedTDk1maZMfhUHSdPeOn15ZdYwkLk1HXy X-Received: by 2002:a17:906:6c96:: with SMTP id s22mr18570511ejr.468.1621256783444; Mon, 17 May 2021 06:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621256783; cv=none; d=google.com; s=arc-20160816; b=Bjh9UFnm42m0iJRgSQP9f3BfU15vTO533qaJc9PdJvFAzuGoYPUcRIaVZmswuqeTin 7VqneCojnPtWPKVKynyqhGOrkSIx/XJCTXkBlV9f2by3k9M4wN94HeWZ/WaEUhcZTYRe hGdEkbDILo6DxXU0ZEyCpqFfy8NQ2HzN+5si7+0rR1QCmlkHq8C7Vch1iG3aIF0OmgdS Z1/r5O3HgH0KZ9UtbrKT3kOnFZiGfyCrP4w/yFRwzyA8jP3mPASTLOs+hveLN/nTprRF ROcHcSnzCqHnAeEr0qJo9kCLaHvh0t7AYvPHNsOMonzXLcQ8XbkoZ/xjCfZHFTUKqq3T Szrw== 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=8FLYNkFQh7eKtFesEj8qNdwBa8Aet3iJ8LZE8atOCYs=; b=kVGYPcWqZBi0qCaUm4F+BtCluyJy7QIwS2V8FNqrrCFg+tN4nWz4BA9D9b23iE2RCX weWe6RQdy7757M3L7rqGfNS8RWpDzBJdqdcS2rxplfwx4dJQUj6UhhzEoQWVv5plA/tc /TjC1t6A+QjBcAwyatbDc5dpapxNkeYZcVJqeztZoV+4llp+UUXHlnB2P202hDRlcchS wZcBn/MPD/SvQyL/u6KCeNGBX2Pd+YF2dk8lHwZbovP5hO7D3TNwlqGh6HQPpxFKfHwb f1ZM8KRLED95mrb9OF/ENGeCOvFjYgfvMO2sTiXDK3wJBDxCzBL62ICm8R8yJeCJSU51 NwBQ== 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 z27si2375725ejj.143.2021.05.17.06.06.00; Mon, 17 May 2021 06:06:23 -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 S235649AbhEQIA6 (ORCPT + 99 others); Mon, 17 May 2021 04:00:58 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2992 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235489AbhEQIAN (ORCPT ); Mon, 17 May 2021 04:00:13 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkBJH5zttzQpRD; Mon, 17 May 2021 15:55:27 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems704-chm.china.huawei.com (10.3.19.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 Received: from localhost.localdomain (10.67.165.2) by dggema704-chm.china.huawei.com (10.3.20.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 From: Yang Shen To: , CC: , , Yang Shen , Byungho An Subject: [PATCH v2 19/24] net: samsung: sxgbe: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:30 +0800 Message-ID: <20210517044535.21473-20-shenyang39@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210517044535.21473-1-shenyang39@huawei.com> References: <20210517044535.21473-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema704-chm.china.huawei.com (10.3.20.68) 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/samsung/sxgbe/sxgbe_main.c:797: warning: expecting prototype for sxgbe_tx_clean(). Prototype was for sxgbe_tx_all_clean() instead drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1026: warning: expecting prototype for sxgbe_init_tx_coalesce(). Prototype was for sxgbe_tx_init_coalesce() instead Cc: Byungho An Signed-off-by: Yang Shen --- drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c index 971f1e54b652..090bcd2fb758 100644 --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c @@ -789,7 +789,7 @@ static void sxgbe_tx_queue_clean(struct sxgbe_tx_queue *tqueue) } /** - * sxgbe_tx_clean: + * sxgbe_tx_all_clean: * @priv: driver private structure * Description: it reclaims resources after transmission completes. */ @@ -1015,7 +1015,7 @@ static void sxgbe_tx_timer(struct timer_list *t) } /** - * sxgbe_init_tx_coalesce: init tx mitigation options. + * sxgbe_tx_init_coalesce: init tx mitigation options. * @priv: driver private structure * Description: * This inits the transmit coalesce parameters: i.e. timer rate, -- 2.17.1