Messages in this thread | | | Date | Thu, 30 Sep 2021 15:41:56 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH 3/6] spi: spi-rpc-if: Check return value of rpcif_sw_init() |
| |
On Tue, Sep 28, 2021 at 03:07:18PM +0100, Lad Prabhakar wrote: > rpcif_sw_init() can fail so make sure we check the return value > of it and on error exit rpcif_spi_probe() callback with error code. > > Fixes: eb8d6d464a27 ("spi: 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>
If it fails, we should really bail out.
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[unhandled content-type:application/pgp-signature] | |