Received: by 10.213.65.68 with SMTP id h4csp70960imn; Thu, 15 Mar 2018 09:51:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELuNK9D4wqQcr4MiKmf54d03wZfk+uN4yQrzDWPZ6i/+LldWm6Q12EsSIGKkwZTd0SRE/QYI X-Received: by 2002:a17:902:51a9:: with SMTP id y38-v6mr9078415plh.120.1521132667394; Thu, 15 Mar 2018 09:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521132667; cv=none; d=google.com; s=arc-20160816; b=D8m89hZJe7PxF0pyiC87OSthbJsH6OpawInQtgfw+aWzzymjX2cD+IeAE3e1NpQ/g4 YMIbW8x/MOwZx9crS8O7iG0SSGPOh2woniWY399+ORLRfpNTpDwE8hVXcgxhuVD9wflb rBW8AUb5UOFwqtiaXnP/VxnHnNMFOC9Mgxr/QILHKxLHxwH8/OHV3tg39Zdf9Mr6GNiA 6a/TMlyl/PUm2lTokarxApxjEm4o3HoDa2vhmIO1rUhYvTCYZwHZuZ7S63/wE51B+29K 8MPb0H1JznUn626cGAufvOM7qZedFzQQaPoqTN3nLSdgs0w+uCm95Xhbfu+H1NuFor+5 GLOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=trvgz9EgcK6ScUufOhgSAWGG2juFz2BsBs19hvsez4A=; b=ZeL8slnGnjyBdgEj+2OPamhZnwJHyEDFLDpTcj1/jV6lFYqATfqFj/KSYZNnaIITs9 Q7qg74KozaJyZD2lobeJ9sizBwmex36jhXF/34gQPUcx8esWy8umiV9f7gmMwkBrTco9 D/yYV1Yf3AMG/bvMbrGU2crZi8Sw/k5kp0zBt+a+eMgDSw9ccaiIDM5k0lndcXd7Rwo+ 4gNsLrUZj1pKd+d4CNqCDiDtyOWolwSVLjI9gKlbvKR1dLwF4yTF6ChPg28TRIalMKSH kOAv823EVqGUay59qpsEwcGrWIQykT3ClJ4L5j1ynCDd5r/BF9VVtiYnVIyGyy/hfDeV UwVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o30si3797188pgc.282.2018.03.15.09.50.51; Thu, 15 Mar 2018 09:51:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932268AbeCOQsl (ORCPT + 99 others); Thu, 15 Mar 2018 12:48:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55100 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751889AbeCOQsj (ORCPT ); Thu, 15 Mar 2018 12:48:39 -0400 Received: from localhost (unknown [37.170.70.9]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id ABD88CA5; Thu, 15 Mar 2018 16:48:38 +0000 (UTC) Date: Thu, 15 Mar 2018 17:48:36 +0100 From: Greg KH To: richard.gong@linux.intel.com Cc: catalin.marinas@arm.com, will.deacon@arm.com, dinguyen@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, atull@kernel.org, mdf@kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org, yves.vandervennet@linux.intel.com, Richard Gong Subject: Re: [PATCHv2 3/7] driver, misc: add Intel Stratix10 service layer driver Message-ID: <20180315164836.GB4060@kroah.com> References: <1519949975-13548-1-git-send-email-richard.gong@linux.intel.com> <1519949975-13548-4-git-send-email-richard.gong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519949975-13548-4-git-send-email-richard.gong@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2018 at 06:19:31PM -0600, richard.gong@linux.intel.com wrote: > +EXPORT_SYMBOL_GPL(request_svc_channel_byname); All of your global symbols should have the same prefix, not a verb. So this should be: svc_channel_request_by_name(), right? > +EXPORT_SYMBOL_GPL(free_svc_channel); svc_channel_free()? > +EXPORT_SYMBOL_GPL(intel_svc_send); Wait, why doesn't the first ones have "intel_svc" in them? What is the difference here? Should they all just have "intel_svc_" as the prefix? Stick to one thing for all exported functions/variables please, it's the only way we can attempt to keep our namespace "sane". Also, why would a 'misc' driver be exporting things that something else uses? Why not just put this in the fpga directory next to the users of this code? thanks, greg k-h