aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2019-11-01 11:35:04 +0200
committerJonathan Cameron <[email protected]>2019-11-03 10:44:29 +0000
commit38262c01ead40f2b061e8b7e6abe254b538d856c (patch)
treee661849606780ab4050e934b0c5f0cbcc712865d /tools/perf/scripts/python/stackcollapse.py
parent9b742763d9d4195e823ae6ece760c9ed0500c1dc (diff)
iio: imu: adis: assign read val in debugfs hook only if op successful
This was also caught by the `-Wmaybe-uninitialized` warning, which (ironically as-is) it makes quite a lot of sense to do for this. The code that actually calls this function will fail to copy on the uninitialized value. Hence, patch does not need to go into stable. Fixes: 78026a6fde8f7 ("iio:imu:adis: Add debugfs register access support") Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions