aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2017-11-01 17:05:48 -0400
committerMauro Carvalho Chehab <[email protected]>2017-12-11 13:04:51 -0500
commitbc3cad2b9261de7a5fa7632d30271e6d8418cb8f (patch)
treec9d2696efa61eee82eab67acac8bb4c82b477fee /tools/perf/scripts/python/stackcollapse.py
parent01a26ff99ca4cec8dcb246683b4b44f5728f75c0 (diff)
media: qt1010: fix bogus warnings
The logic at qt1010_init_meas1() and qt1010_init_meas2() are too complex for static analizers to identify that some vars are always be initialized. That causes smatch to produce the following warnings: drivers/media/tuners/qt1010.c:248 qt1010_init_meas1() error: uninitialized symbol 'val2'. drivers/media/tuners/qt1010.c:282 qt1010_init_meas2() error: uninitialized symbol 'val'. So, add annotations to prevent those bogus warnings. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions