[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3vzNHz2TyZz9sCX@ozlabs.org>
Date: Thu, 6 Apr 2017 23:06:07 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Alistair Popple <alistair@...ple.id.au>
Cc: devicetree@...r.kernel.org,
Alistair Popple <alistair@...ple.id.au>, mhairgrove@...dia.com,
linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org,
robh+dt@...nel.org, shailendras@...dia.com
Subject: Re: [v2, 2/3] powerpc/powernv: Add sanity checks to pnv_pci_get_{gpu|npu}_dev
On Mon, 2017-04-03 at 09:51:43 UTC, Alistair Popple wrote:
> The pnv_pci_get_{gpu|npu}_dev functions are used to find associations
> between nvlink PCIe devices and standard PCIe devices. However they
> lacked basic sanity checking which results in NULL pointer
> dereferencing if they are incorrect called can be harder to spot than
> an explicit WARN_ON.
>
> Signed-off-by: Alistair Popple <alistair@...ple.id.au>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/4c3b89effc281704d5395282c800c4
cheers
Powered by blists - more mailing lists