media: coda: Add check for dcoda_iram_alloc
[ Upstream commit 6b808223 ] As the coda_iram_alloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others. Fixes: b313bcc9 ("[media] coda: simplify IRAM setup") Signed-off-by:Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment