Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:61012 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666Ab0IOIAp convert rfc822-to-8bit (ORCPT ); Wed, 15 Sep 2010 04:00:45 -0400 MIME-Version: 1.0 In-Reply-To: References: <1283376410-9999-1-git-send-email-ohad@wizery.com> <1283376410-9999-4-git-send-email-ohad@wizery.com> <20100906120716.GE20903@n2100.arm.linux.org.uk> From: Ohad Ben-Cohen Date: Wed, 15 Sep 2010 10:00:22 +0200 Message-ID: Subject: Re: [PATCH v5 3/7] wireless: wl12xx: add platform data passing support To: =?ISO-8859-2?Q?Micha=B3_Miros=B3aw?= Cc: Russell King - ARM Linux , linux-wireless@vger.kernel.org, linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, Kalle Valo , Nicolas Pitre , Tony Lindgren , Mark Brown , Roger Quadros , Ido Yariv , San Mehat , Chikkature Rajashekar Madhusudhan , Luciano Coelho , akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-2 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2010/9/6 Micha? Miros?aw : > W dniu 6 wrze?nia 2010 14:07 u?ytkownik Russell King - ARM Linux > napisa?: >> On Sat, Sep 04, 2010 at 02:23:19PM +0200, Micha? Miros?aw wrote: >>> 2010/9/1 Ohad Ben-Cohen : >>> > Add a simple mechanism to pass platform data to the >>> > SDIO instances of wl12xx. > [cut patch] >>> Why do you need all that copying? Isn't the data constant? >> >> The first copy is to allow platforms to have their data marked with >> __initdata. ?The second copy probably isn't necessary, but avoids >> problems where the driver may decide to modify the platform data. > > Sorry for pushing at this, but why would you mark data that's meant to > be used after init phase as __initdata? I can remove the first copying as well if Russell is ok with it. Both ways work for us. > > Best Regards, > Micha? Miros?aw >