Re: [PATCH v2] pci: pcie-rcar: fix a potential NULL pointer dereference
From: Ulrich Hecht
Date: Fri Mar 15 2019 - 06:13:30 EST
> On March 15, 2019 at 8:29 AM Kangjie Lu <kjlu@xxxxxxx> 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@xxxxxxx>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Reviewed-by: Ulrich Hecht <uli+renesas@xxxxxxxx>
CU
Uli