Re: [PATCH v2] media: imx-media-internal-sd: Use empty initializer

2018-02-10 Thread Steve Longerbeam
Acked-by: Steve Longerbeam On 02/09/2018 03:11 PM, Fabio Estevam wrote: From: Fabio Estevam When building with W=1 the following warning shows up: drivers/staging/media/imx/imx-media-internal-sd.c:274:49: warning: Using plain integer as NULL pointer Fix this problem by using an empty init

Re: [PATCH v2] media: imx-media-internal-sd: Use empty initializer

2018-02-10 Thread Fabio Estevam
Hi Steve, On Fri, Feb 9, 2018 at 9:42 PM, Steve Longerbeam wrote: > There is one other case of the use of "{0}" to initialize a stack/local > struct, in prp_enum_frame_size(). It should be fixed there as well, to > be consistent. Yes, just sent a patch as you suggested. Thanks

Re: [PATCH v2] media: imx-media-internal-sd: Use empty initializer

2018-02-09 Thread Steve Longerbeam
Hi Fabio, On 02/09/2018 03:11 PM, Fabio Estevam wrote: From: Fabio Estevam When building with W=1 the following warning shows up: drivers/staging/media/imx/imx-media-internal-sd.c:274:49: warning: Using plain integer as NULL pointer Fix this problem by using an empty initializer, which gua

[PATCH v2] media: imx-media-internal-sd: Use empty initializer

2018-02-09 Thread Fabio Estevam
From: Fabio Estevam When building with W=1 the following warning shows up: drivers/staging/media/imx/imx-media-internal-sd.c:274:49: warning: Using plain integer as NULL pointer Fix this problem by using an empty initializer, which guarantees that all struct members are zero-cleared. Signed-o