diff options
| author | Lad, Prabhakar <[email protected]> | 2015-05-25 12:34:27 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-06-05 06:34:48 -0300 |
| commit | 694f9963edd831e4ed6fdbcb7134525cf5715a79 (patch) | |
| tree | 95b05b179ecad6303fff736be17aa8f95d44878d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2f1ea29fca781b8e6600f3ece1f2dd98ae276294 (diff) | |
[media] media: davinci_vpfe: clear the output_specs
clear of the output_specs before passing it to the
configure_resizer_out_params(), so that no garbage values
are set.
This fixes following build warning:
drivers/staging/media/davinci_vpfe/dm365_resizer.c: In function 'resizer_set_stream':
drivers/staging/media/davinci_vpfe/dm365_resizer.c:190:46: warning: 'output_specs.vst_c'
may be used uninitialized in this function [-Wmaybe-uninitialized]
param->ext_mem_param[index].rsz_sdr_ptr_s_c = output->vst_c;
^
drivers/staging/media/davinci_vpfe/dm365_resizer.c:316:30: note: 'output_specs.vst_c' was declared here
struct vpfe_rsz_output_spec output_specs;
^
Signed-off-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions