From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: "Luiz Fernando N. Capitulino" <lcapitulino@conectiva.com.br>,
greg@kroah.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.4] - drivers/pci/pci.c NULL pointer fix.
Date: Tue, 31 Aug 2004 07:53:39 -0300 [thread overview]
Message-ID: <20040831105339.GD3774@logos.cnet> (raw)
In-Reply-To: <20040830124733.7d44dbe1.lcapitulino@conectiva.com.br>
Applied,
Thanks.
On Mon, Aug 30, 2004 at 12:47:33PM -0300, Luiz Fernando N. Capitulino wrote:
> Marcelo,
>
> This is another bug fix: the function pci/pci.c::pci_add_new_bus() does not
> check the return of pci_alloc_bus(). If this function returns NULL, `child'
> can be utilised.
>
> In the patch bellow I added the check, if the call that pci_scan_bridge()
> is doing to pci_alloc_bus() return NULL, pci_scan_bridge() returns `max'
> (Greg accepted this fix for 2.6, a while ago).
>
> (against 2.4.28-pre2)
>
>
> Signed-off-by: Luiz Capitulino <lcapitulino@conectiva.com.br>
prev parent reply other threads:[~2004-08-31 12:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 15:47 [PATCH 2.4] - drivers/pci/pci.c NULL pointer fix Luiz Fernando N. Capitulino
2004-08-31 10:53 ` Marcelo Tosatti [this message]
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=20040831105339.GD3774@logos.cnet \
--to=marcelo.tosatti@cyclades.com \
--cc=greg@kroah.com \
--cc=lcapitulino@conectiva.com.br \
--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