]> asedeno.scripts.mit.edu Git - linux.git/commit
media: imx-ic-prpencvf: Use empty initializer to clear all struct members
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 10 Feb 2018 14:38:50 +0000 (09:38 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 15:31:24 +0000 (10:31 -0500)
commit3b4bf692e54ef9f2fd32ccd0434d5c396537596f
treedef89e4ed41078155e5f3c51eb2649a6da859707
parentf31c76a94861fb8d11c713c13c22fcd76bb715a3
media: imx-ic-prpencvf: Use empty initializer to clear all struct members

{0} only cleans the first member of the structure.

Use {} instead, which cleans all the members of the structure.

Reported-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-ic-prpencvf.c