diff options
| author | Hans Verkuil <[email protected]> | 2023-04-18 08:46:52 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-05-26 10:44:54 +0100 |
| commit | 2f16c95e7aa9716f7332b30d578dc496399d7d8f (patch) | |
| tree | abb47c56874cf492a7c5e9de91bc8caec68129fb /tools/perf/scripts/python/netdev-times.py | |
| parent | 2a7d6b9c55baabfbad03946f2b0c695df72cfb06 (diff) | |
media: staging: media: imx: initialize hs_settle to avoid warning
Initialize hs_settle to 0 to avoid this compiler warning:
imx8mq-mipi-csi2.c: In function 'imx8mq_mipi_csi_start_stream.part.0':
imx8mq-mipi-csi2.c:91:55: warning: 'hs_settle' may be used uninitialized [-Wmaybe-uninitialized]
91 | #define GPR_CSI2_1_S_PRG_RXHS_SETTLE(x) (((x) & 0x3f) << 2)
| ^~
imx8mq-mipi-csi2.c:357:13: note: 'hs_settle' was declared here
357 | u32 hs_settle;
| ^~~~~~~~~
It's a false positive, but it is too complicated for the compiler to detect that.
Signed-off-by: Hans Verkuil <[email protected]>
Reviewed-by: Martin Kepplinger <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions