Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751335Ab0BRWmM (ORCPT ); Thu, 18 Feb 2010 17:42:12 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:16876 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742Ab0BRWmJ (ORCPT ); Thu, 18 Feb 2010 17:42:09 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:message-id:content-type:content-transfer-encoding; b=Fa56Xshi5XHUk/m0uJo34YLeYB2pHU07U4fYA+JflfkoPjdexOOCaL8s32IK8g6XR5 O49vqnYpTmaGhOO7FRi3jvyeGdOmadvAsPhOGgWNar7NDRALjfHRo93eL54mTirHO4xK HAUBts4IoOevrdKsXSzO3Tnm6IrrdoVz3Io+M= From: Bartlomiej Zolnierkiewicz To: Alan Cox Subject: Re: [PATCH 1/3] libata: pass host flags into __ata_pci_sff_init_one() helper Date: Thu, 18 Feb 2010 23:41:02 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31.12-0.1-desktop; KDE/4.3.1; x86_64; ; ) Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20100218185914.16594.61415.sendpatchset@localhost> <20100218185922.16594.98925.sendpatchset@localhost> <20100218214448.692552fd@lxorguk.ukuu.org.uk> In-Reply-To: <20100218214448.692552fd@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Message-Id: <201002182341.02203.bzolnier@gmail.com> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1774 Lines: 43 On Thursday 18 February 2010 10:44:48 pm Alan Cox wrote: > On Thu, 18 Feb 2010 19:59:22 +0100 > Bartlomiej Zolnierkiewicz wrote: > > > From: Bartlomiej Zolnierkiewicz > > Subject: [PATCH] libata: pass host flags into __ata_pci_sff_init_one() helper > > > > This was orginally proposed by Alan Cox but as a change > > for ata_pci_sff_init_one() helper function instead of > > __ata_pci_sff_init_one() one which casues needless churn > > to all host drivers and accidentally breakes few host > > drivers which are still on their way upstream. > > > > Allows parallel scan and the like to be set without > > having to stop using the existing full helper functions. > > NAK - __ is for internal symbol names. A NAK for an atang specific patch? :) - Please read DISCLAIMER in the first mail (it is there for a valid reasons). - The patch is for atang tree and said __ change happened _months_ ago as a part of (very much related) ->init_host work which is not 'upstream'. - __ has been also used for exactly such purpose in the kernel, i.e.: $ grep EXPORT_SYMBOL drivers/pci/*c|grep __ drivers/pci/htirq.c:EXPORT_SYMBOL(__ht_create_irq); drivers/pci/pci.c:EXPORT_SYMBOL_GPL(__pci_complete_power_transition); drivers/pci/pci.c:EXPORT_SYMBOL_GPL(__pci_reset_function); drivers/pci/pci-driver.c:EXPORT_SYMBOL(__pci_register_driver); Just see commit 863b18f introducing __pci_register_driver (please notice that the change was suggested by Al Viro!).. -- Bartlomiej Zolnierkiewicz -- 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/