Prevent a NULL pointer dereference in the probe path by checking the
return valud of dev_read_addr_ptr() against NULL.
Signed-off-by: Ioana Ciornei
---
drivers/net/fsl_ls_mdio.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/fsl_ls_mdio.c b/drivers/net/fsl_ls_mdio.c
index f21
On Thu, Jan 5, 2023 at 5:09 PM Ioana Ciornei wrote:
>
> Prevent a NULL pointer dereference in the probe path by checking the
> return valud of dev_read_addr_ptr() against NULL.
>
> Signed-off-by: Ioana Ciornei
> ---
> drivers/net/fsl_ls_mdio.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff
On Thu, Jan 05, 2023 at 05:09:48PM +0200, Ioana Ciornei wrote:
> Prevent a NULL pointer dereference in the probe path by checking the
> return valud of dev_read_addr_ptr() against NULL.
>
> Signed-off-by: Ioana Ciornei
> Reviewed-by: Ramon Fried
Applied to u-boot/master, thanks!
--
Tom
sig
3 matches
Mail list logo