[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48B42D60.2030405@numericable.fr>
Date: Tue, 26 Aug 2008 18:20:48 +0200
From: Rufus & Azrael <rufus-azrael@...ericable.fr>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
CC: Greg KH <gregkh@...e.de>,
Linux-kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [2.6.27-rc4-git4] compilation warnings
Jesse Barnes wrote:
> On Tuesday, August 26, 2008 8:20 am Greg KH wrote:
>
>> On Tue, Aug 26, 2008 at 11:37:46AM +0200, Rufus& Azrael wrote:
>>
>>> Hello all,
>>>
>>> Fresh 2.6.27-rc4-git4 causes these compilation warnings on my amd64 box
>>> with gcc-4.3.1 :
>>>
>>> drivers/pci/search.c: In function ‘pci_get_dev_by_id’:
>>> drivers/pci/search.c:284: attention : passing argument 1 of
>>> ‘pci_dev_put’ discards qualifiers from pointer target type
>>>
>>> following this commit : ebca4f1bce1eb7b91a63c515db66316db9391221 PCI: fix
>>> reference leak in pci_get_dev_by_id()
>>>
>> Ick, sorry about that, I said my fix was not even build tested :)
>>
>> Here's a fix for this, Jesse, care to forward this on?
>>
>
> Yeah, thanks Greg. Alex and I built& booted it, but obviously I missed the
> warning.
>
> Jesse
>
>
Hello Greg and Jesse,
I have tested this patch which works fine and the warning disappears,
thanks for all.
Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists