diff options
author | Sergei A. Trusov <sergei.a.trusov@ya.ru> | 2017-08-02 10:00:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-05 13:29:29 +0200 |
commit | bfc133515ffba42cf81389275ec24ea3c744bb17 (patch) | |
tree | 36825a6de30142bf7a7c22adb448c94c304b1a00 /drivers/media | |
parent | media: Revert "[media] lirc_dev: remove superfluous get/put_device() calls" (diff) | |
download | linux-bfc133515ffba42cf81389275ec24ea3c744bb17.tar.xz linux-bfc133515ffba42cf81389275ec24ea3c744bb17.zip |
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: da22013f7df4 ("atomisp: remove indirection from sh_css_malloc")
Signed-off-by: Sergei A. Trusov <sergei.a.trusov@ya.ru>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions