Re: [PATCH] misc: k3_avs: Fix possible NULL pointer deference

2020-02-26 Thread Lokesh Vutla
On 14/02/20 5:52 PM, Vignesh Raghavendra wrote: > Its possible that k3_avs_priv is NULL because the driver may not have > been probed yet. Therefore check if pointer is valid before > dereferencing it. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot-ti Thanks and regards, Lokesh

Re: [PATCH] misc: k3_avs: Fix possible NULL pointer deference

2020-02-16 Thread Keerthy
On 14/02/20 5:52 pm, Vignesh Raghavendra wrote: Its possible that k3_avs_priv is NULL because the driver may not have been probed yet. Therefore check if pointer is valid before dereferencing it. Reviewed-by: Keerthy Signed-off-by: Vignesh Raghavendra --- drivers/misc/k3_avs.c | 4 +++

[PATCH] misc: k3_avs: Fix possible NULL pointer deference

2020-02-14 Thread Vignesh Raghavendra
Its possible that k3_avs_priv is NULL because the driver may not have been probed yet. Therefore check if pointer is valid before dereferencing it. Signed-off-by: Vignesh Raghavendra --- drivers/misc/k3_avs.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/misc/k3_avs.c b/drivers