diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-01 17:05:47 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-11 13:04:52 -0500 |
| commit | 8a08ef08fb132b3184e99fa8c1a007bcfadd9942 (patch) | |
| tree | 0170b9b507810be076709c55336826f7aa6105f9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 02d7324337c0223f3775d539380e32f603646a52 (diff) | |
| download | kernel-8a08ef08fb132b3184e99fa8c1a007bcfadd9942.tar.gz | |
media: xc4000: don't ignore error if hwmodel fails
If, for some reason, reading the hwmodel register on
xc4000 fails, it will cause the following logig to
use a random value, as reported by smatch:
drivers/media/tuners/xc4000.c:1047 check_firmware() error: uninitialized symbol 'hwmodel'.
drivers/media/tuners/xc4000.c:1060 check_firmware() error: uninitialized symbol 'hwmodel'.
drivers/media/tuners/xc4000.c:1064 check_firmware() error: uninitialized symbol 'hwmodel'.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
