lkml.org 
[lkml]   [2009]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Shut off pci_find_device warnings when the deprecated pci functions are enabled.
On Fri, 24 Jul 2009 11:41:15 +0200
Andi Kleen <andi@firstfloor.org> wrote:

> Shut off pci_find_device warnings when the deprecated pci functions
> are enabled.
>
> Shut off the long standing
>
> linux/drivers/pci/search.c:144: warning: 'pci_find_device' is
> deprecated (declared at linux/drivers/pci/search.c:136)
> linux/drivers/pci/search.c:144: warning: 'pci_find_device' is
> deprecated (declared at linux/drivers/pci/search.c:136)
>
> warnings that appear on every build when CONFIG_PCI_LEGACY is enabled.
>
> gcc warns for the use in EXPORT_SYMBOL
>
> I moved these to a separate file and disabled the warning in the
> Makefile for that file.
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Applied to linux-next, thanks.

--
Jesse Barnes, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2009-07-28 18:59    [W:0.331 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site