Re: [PATCH] Fixed coding style: do not initialise statics to NULL

2019-04-12 Thread Hans Verkuil
Hi Tiago, On 4/12/19 4:45 AM, Tiago Macedo wrote: > The standard guarantees that a pointer with static storage duration > and no other initializer will be initialized to be a null pointer. > > Signed-off-by: Tiago Macedo > --- > drivers/staging/media/zoran/videocodec.c | 2 +- > 1 file changed,

[PATCH] Fixed coding style: do not initialise statics to NULL

2019-04-11 Thread Tiago Macedo
The standard guarantees that a pointer with static storage duration and no other initializer will be initialized to be a null pointer. Signed-off-by: Tiago Macedo --- drivers/staging/media/zoran/videocodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/medi