Skip to content
Commit bfc13351 authored by Sergei A. Trusov's avatar Sergei A. Trusov Committed by Mauro Carvalho Chehab
Browse files

media: staging: atomisp: sh_css_calloc shall return a pointer to the allocated space

The calloc function returns either a null pointer or a pointer to the
allocated space. Add the second case that is missed.

Fixes: da22013f

 ("atomisp: remove indirection from sh_css_malloc")
Signed-off-by: default avatarSergei A. Trusov <sergei.a.trusov@ya.ru>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent a607f51e
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