On Mon, 1 Apr 2019 17:26:51 +0200
Miquel Raynal wrote:
> Hi Aditya,
>
> Aditya Pakki wrote on Mon, 18 Mar 2019 18:24:34
> -0500:
>
> > of_match_device can return NULL if there is no matching device is found.
> > The patch avoids a potential NULL pointer dereference by checking for the
> > retu
Hi Aditya,
Aditya Pakki wrote on Mon, 18 Mar 2019 18:24:34
-0500:
> of_match_device can return NULL if there is no matching device is found.
> The patch avoids a potential NULL pointer dereference by checking for the
> return value and passing the error upstream.
>
> Signed-off-by: Aditya Pakki
of_match_device can return NULL if there is no matching device is found.
The patch avoids a potential NULL pointer dereference by checking for the
return value and passing the error upstream.
Signed-off-by: Aditya Pakki
---
drivers/mtd/nand/raw/vf610_nfc.c | 2 ++
1 file changed, 2 insertions(+)
3 matches
Mail list logo