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

2017-08-08 Thread Sakari Ailus
On Wed, Aug 02, 2017 at 01:11:06AM -0700, Joe Perches wrote: > 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

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

2017-08-02 Thread Sergei A. Trusov
The calloc function returns either a null pointer or a pointer to the allocated space. Add the second case that is missed. Signed-off-by: Sergei A. Trusov --- drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c | 1 + 1 file changed, 1 insertion(+) diff --git

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

2017-08-02 Thread Joe Perches
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