From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09E4DC4743C for ; Wed, 23 Jun 2021 17:25:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF20A611AC for ; Wed, 23 Jun 2021 17:25:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbhFWR1d (ORCPT ); Wed, 23 Jun 2021 13:27:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:57496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhFWR1c (ORCPT ); Wed, 23 Jun 2021 13:27:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9F90460FEA; Wed, 23 Jun 2021 17:25:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624469114; bh=bskff73XWWxpgTzfK/jxsxgtC9fuGF5fnf7xrQldBiQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OCpB9iw5B9xMuFtds+/77jyu3PUVIeGnJOh7aSkDfU+i9UFz1z++SvqO0NMGZPQSR OozYnLZViLOVukzCYAa1vdB2QayAFjbBSjJsv4kORIzf+UJ8e2ihfvZQTRbqxw6mxP bSSNEYQ6uVLgacK5Tz4kieKkqjnjWjStQE5LzC9c= Date: Wed, 23 Jun 2021 19:25:11 +0200 From: Greg KH To: Rocco Yue Cc: "David S . Miller" , Jakub Kicinski , Jonathan Corbet , Hideaki YOSHIFUJI , David Ahern , Matthias Brugger , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bpf@vger.kernel.org, wsd_upstream@mediatek.com, chao.song@mediatek.com, zhuoliang.zhang@mediatek.com, kuohong.wang@mediatek.com Subject: Re: [PATCH 4/4] drivers: net: mediatek: initial implementation of ccmni Message-ID: References: <20210623113452.5671-1-rocco.yue@mediatek.com> <20210623113452.5671-4-rocco.yue@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210623113452.5671-4-rocco.yue@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Wed, Jun 23, 2021 at 07:34:52PM +0800, Rocco Yue wrote: > +EXPORT_SYMBOL(ccmni_rx_push); Why are you exporting symbols that are not used by anyone in this patch series? That doesn't feel right. Who needs this? > +EXPORT_SYMBOL(ccmni_hif_hook); Same with this, who calls this? > +++ b/drivers/net/ethernet/mediatek/ccmni/ccmni.h Why do you have a .h file for a single .c file? that shouldn't be needed. thanks, greg k-h