diff options
author | Tom Rix <[email protected]> | 2021-05-31 19:43:00 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-08-04 14:43:51 +0200 |
commit | 43c3f12dfbbda169b06715bf0b090ca1b1201058 (patch) | |
tree | e29666a8ef07eb66262d0935728003b38213bcb0 /scripts/gdb/linux/utils.py | |
parent | 0ada1697ed4256b38225319c9896661142a3572d (diff) |
media: imx: imx7_mipi_csis: convert some switch cases to the default
Static analysis reports this false positive
imx7-mipi-csis.c:1027:2: warning: 4th function call argument is
an uninitialized value
The variable 'align' is falsely reported as uninitialized.
Even though all the cases are covered in the
switch (csis_fmt->width % 8) {
Because there is no default case, it is reported as uninialized.
Improve the switch by converting the most numerous set of cases
to the default and silence the false positive.
Signed-off-by: Tom Rix <[email protected]>
Reviewed-by: Rui Miguel Silva <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions