[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1263138672.859729.1552644437032@webmail.strato.com>
Date: Fri, 15 Mar 2019 11:07:17 +0100 (CET)
From: Ulrich Hecht <uli@...nd.eu>
To: Kangjie Lu <kjlu@....edu>
Cc: Simon Horman <horms@...ge.net.au>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] pci: pcie-rcar: fix a potential NULL pointer
dereference
> On March 15, 2019 at 8:29 AM Kangjie Lu <kjlu@....edu> wrote:
>
>
> In case __get_free_pages fails and returns NULL, the fix returns
> -ENOMEM and releases resources to avoid NULL pointer dereference.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Reviewed-by: Ulrich Hecht <uli+renesas@...nd.eu>
CU
Uli
Powered by blists - more mailing lists