Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5861173pxj; Wed, 23 Jun 2021 10:26:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+zzCk/fbM5h5Cb4WL6mzchAtZ/8h7iVw86CfMHpyExLNvXNJ0b6mPMvJAwvSGYTgW/xrr X-Received: by 2002:a05:6e02:2142:: with SMTP id d2mr395522ilv.48.1624469171405; Wed, 23 Jun 2021 10:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624469171; cv=none; d=google.com; s=arc-20160816; b=VSulVT1WMefX4+CGiWBRO7P+XV+m3mvb8Aqc3f85PhD9RcP0oGWJdxAKl/OArHsF/8 EYT/sXNaU2ZWQIPlBVm6srnR8UsUiew9OJ7ZU8iEqbNstpyxypjy4ugG6u/C+eBaJIkd e0miqmqj+ZZputd7Woz1vMXU3nL/FgjTEnCcMtPDo9FuAouy9wmucp9R+QaAwEzLacqa tEeW4lqlCBjnXYT5+88Uw0z1iX05ZuVyJYVwAwnL+9+83A9ZlBBxE1KVGWkKqNzOGKdE xM6zWjt/C5ZIvUWNvn5nqa3/ezIWg6MEyDejQ4XQSqMQfF4Gg8asgTs8MslyymVB3Hwi Uc1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CzZNLwHIRmu7O3gYzrzW7ardf/FPnQWW9dkGiLN9xz8=; b=DLSAFuhhjTZduuOZHl31Dfh5Og13oxJ73XAeXL8+2Vn65AI4eXnhM5IIui5kIhHuG6 AsT1Ym8bOOcVqwUNoGp1ToAXPP+JWnTLglN4kRox4lzJM9qbnvs5LNr4lMiggYS9nLVu 9jZw5IBz6fntpAg1vUCrm4b3tbZxbB8Spw3J7HCYSv33daIx/rAPXNfdnKyJ9fGru+gc fohUiSlKOwC6Z7D79rOoO5up3+s7Hkfsl8KaMRf3nHF/FdNI8g1MSdXKsJJMWxjrC7C/ +g2HAb+kqgleuSkzhWFerTOB4tBxJ5+XNXNj0BW2MZE0bo/L1xwy+z43rO3CjLSI4ut4 ft3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OCpB9iw5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si578970iol.44.2021.06.23.10.25.59; Wed, 23 Jun 2021 10:26:11 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OCpB9iw5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbhFWR1d (ORCPT + 99 others); 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: linux-kernel@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