diff options
| author | Nathan Chancellor <[email protected]> | 2018-09-15 02:16:15 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-09-24 09:43:13 -0400 |
| commit | 4158757395b300b6eb308fc20b96d1d231484413 (patch) | |
| tree | b989c9fe9e61d7643642f07fb565f6f136801211 /tools/perf/scripts/python | |
| parent | 502fac1ef3498e345086e75ff2442fda88c57b6c (diff) | |
media: davinci: Fix implicit enum conversion warning
Clang warns when one enumerated type is implicitly converted to another.
drivers/media/platform/davinci/vpbe_display.c:524:24: warning: implicit
conversion from enumeration type 'enum osd_v_exp_ratio' to different
enumeration type 'enum osd_h_exp_ratio' [-Wenum-conversion]
layer_info->h_exp = V_EXP_6_OVER_5;
~ ^~~~~~~~~~~~~~
1 warning generated.
This appears to be a copy and paste error judging from the couple of
lines directly above this statement and the way that height is handled
in the if block above this one.
Reported-by: Nick Desaulniers <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions