Re: [PATCH 4/6] mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-10-08 09:27:23
Also in:
linux-renesas-soc, linux-spi, lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-10-08 09:27:23
Also in:
linux-renesas-soc, linux-spi, lkml
On Tue, Sep 28, 2021 at 4:07 PM Lad Prabhakar [off-list ref] wrote:
rpcif_sw_init() can fail so make sure we check the return value
of it and on error exit rpcif_hb_probe() callback with error code.
Fixes: 5de15b610f78 ("mtd: hyperbus: add Renesas RPC-IF driver")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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