Re: [PATCH v2] pci: pcie-rcar: fix a potential NULL pointer dereference

From: Geert Uytterhoeven
Date: Thu Mar 14 2019 - 04:10:27 EST


On Thu, Mar 14, 2019 at 9:08 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>

Please keep my
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds