Skip to content
Commit 2ec7e2e7 authored by Sachin Kamat's avatar Sachin Kamat Committed by Vinod Koul
Browse files

dma: ste_dma40: Fix potential null pointer dereference



kcalloc can return NULL. Check the pointer before dereferencing.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent cbbe13ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment