Re: [PATCH] ray_cs: Check return value of pcmcia_register_driver

From: Kalle Valo
Date: Thu Apr 25 2019 - 12:38:46 EST


Yue Haibing <yuehaibing@xxxxxxxxxx> wrote:

> From: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> init_ray_cs does not check value of pcmcia_register_driver,
> if it fails, there maybe cause a NULL pointer dereference in
> exit_ray_cs.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

444efbde3281 ray_cs: Check return value of pcmcia_register_driver

--
https://patchwork.kernel.org/patch/10840927/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches