]> git.baikalelectronics.ru Git - kernel.git/commit
media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 1 Aug 2023 07:14:30 +0000 (10:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:07 +0000 (11:11 +0200)
commit240571c49f764a2b51ab09c5fd7d558e7b1c5014
treee81ea5ae6b482a3630e45457e471a14362f5ae20
parent91f400233edc1354e80b9f6b9370dc1d0e11095b
media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning

[ Upstream commit 9d7531be3085a8f013cf173ccc4e72e3cf493538 ]

Initialise timing struct in cio2_hw_init() to zero in order to avoid a
compiler warning. The warning was a false positive.

Reported-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/pci/intel/ipu3/ipu3-cio2-main.c