From: Rufus & Azrael <rufus-azrael@numericable.fr>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Greg KH <gregkh@suse.de>,
Linux-kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.27-rc4-git4] compilation warnings
Date: Tue, 26 Aug 2008 18:20:48 +0200 [thread overview]
Message-ID: <48B42D60.2030405@numericable.fr> (raw)
In-Reply-To: <200808260908.07982.jbarnes@virtuousgeek.org>
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.
next prev parent reply other threads:[~2008-08-26 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 9:37 [2.6.27-rc4-git4] compilation warnings Rufus & Azrael
2008-08-26 15:20 ` Greg KH
2008-08-26 16:08 ` Jesse Barnes
2008-08-26 16:20 ` Rufus & Azrael [this message]
2008-08-27 23:35 ` Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48B42D60.2030405@numericable.fr \
--to=rufus-azrael@numericable.fr \
--cc=gregkh@suse.de \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox