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

Joe Perches joe at perches.com
Wed Aug 2 08:11:06 UTC 2017


On Wed, 2017-08-02 at 18:00 +1000, Sergei A. Trusov wrote:
> The calloc function returns either a null pointer or a pointer to the
> allocated space. Add the second case that is missed.

gads.

Bug added by commit da22013f7df4 ("atomisp: remove indirection from
sh_css_malloc")

These wrappers should really be deleted.



More information about the devel mailing list