Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965817AbaDJJuy (ORCPT ); Thu, 10 Apr 2014 05:50:54 -0400 Received: from am1ehsobe001.messaging.microsoft.com ([213.199.154.204]:16034 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965773AbaDJJup (ORCPT ); Thu, 10 Apr 2014 05:50:45 -0400 X-Forefront-Antispam-Report: CIP:62.221.5.235;KIP:(null);UIP:(null);IPV:NLI;H:xir-gw1;RD:unknown-62-221-5-235.ipspace.xilinx.com;EFVD:NLI X-SpamScore: 3 X-BigFish: VPS3(z579eh551bizbb2dI98dI9371I1432I4015Izz1f42h2148h1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6h208chzz1de097hz2fh95h839h93fhc61hd24hf0ah119dh1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h190ch1946h19b4h19b5h19c3h1b0ah1be0h224fh1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h209eh2216h2336h2438h2461h2487h24ach24d7h2516h2545h255eh25f6h2605h268bh26d3h2673i19b6n1155h) Date: Thu, 10 Apr 2014 11:49:57 +0200 From: Michal Simek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: Borislav Petkov CC: Michal Simek , Punnaiah Choudary Kalluri , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH v2] edac: synopsys: Added EDAC support for zynq ddr ecc controller References: <1220b715-6fc2-42ed-8393-b9859fc0deb9@TX2EHSMHS021.ehs.local> <20140408204047.GQ30077@pd.tnic> <534633C0.9090905@monstr.eu> <20140410092144.GD29093@pd.tnic> In-Reply-To: <20140410092144.GD29093@pd.tnic> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW Message-ID: <5e0042b6-f169-4025-8fd7-9d70c2ed0cf6@AM1EHSMHS012.ehs.local> X-OriginatorOrg: xilinx.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/10/2014 11:21 AM, Borislav Petkov wrote: > On Thu, Apr 10, 2014 at 08:01:36AM +0200, Michal Simek wrote: >> Just add it to Zynq maintainer fragment as we are doing for non >> zynq/xilinx drivers. > > Yep, as a file pattern F: yep. >> At least the is the first time when someone saying that only some >> functions should be documented. > > I don't see the need to document simple functions which are *obvious*. > But if you want to do that, I'm not going to stop you so be my guest. ok. thanks. >> I don't think this is good to do. When we remove this prefix entirely >> it is bigger chance that the same function name will be used by >> another driver. It is not a problem with linking but the same >> functions names will be listed in System.map which will complicate >> debugging. > > Ok, fair enough. You probably still want to make them shorter, though, > so that your code doesn't have to be line-broken too much. For example, > since we only load a single edac driver per system, you can shorten the > prefix to "edac_" only. I agree with you that we can use shorter name. I have checked this with Punnaiah and I can't see any problem to have more edac drivers in the system. For zynq there is primary ddr controller which is target by this driver. Then we are talking about L2 in another thread. Because zynq has programmable logic next to chip where you can add soft memory controller (we have these hw designs) on the same bus then there could be others edac drivers. I would say how many you like till pins on the package. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/