[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA5qM4BXfW-gyoUJ3FraZFqmG576Bx0g1Atm__a2oqzBwH=-Gg@mail.gmail.com>
Date: Tue, 11 May 2021 14:32:24 -0700
From: Tong Zhang <ztong0001@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Arnd Bergmann <arnd@...db.de>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
On Tue, May 11, 2021 at 10:57 AM Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
>
> I suggest, again, steping back up and just not calling this function if
> you are on the root, as it does not make any sense to do so for a device
> that is not there.
>
Agreed.
I did a revision based on your suggestion and sent it as v2.
Thanks,
- Tong
> thanks,
>
> greg k-h
Powered by blists - more mailing lists