aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-11-30 12:24:23 +0100
committerLee Jones <[email protected]>2016-01-11 07:58:43 +0000
commit02f22c004ff2ab0ce1f2fa3cc6a87cf20a4fed40 (patch)
tree79a240d3d51df13902085902045cb852e4500684 /tools/perf/util/trace-event-scripting.c
parent2f4647a149943b1f87e46858e9f13e02010347f7 (diff)
backlight: adp8860: Fix another uninitialized variable use
A recent patch I did fixed two potential uses of uninitialized variables in the adp8870 and adp8860 drivers. Unfortunately, I missed another one: drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show': drivers/video/backlight/adp8860_bl.c:570:11: warning: 'reg_val' may be used uninitialized in this function This does the same change as before in one additional function, and also changes the check for the return value in a way that avoids another false positive warning with a similar message. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: 6be3a5a9cd91 ("backlight: adp88x0: Fix uninitialized variable use") Acked-by: Michael Hennerich <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions