aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-02-04 14:36:09 +0300
committerChanwoo Choi <[email protected]>2016-02-05 11:37:26 +0900
commitc4924e92442d7218bd725e47fa3988c73aae84c9 (patch)
tree5e059a8fe75b7a43c171fbb84e40005fb6485a89 /tools/perf/util/trace-event-scripting.c
parent03bf1adbd68d349eaccf16d42e0ef7e368c3716a (diff)
extcon: max77843: Use correct size for reading the interrupt register
The info->status[] array has 3 elements. We are using size MAX77843_MUIC_IRQ_NUM (16) instead of MAX77843_MUIC_STATUS_NUM (3) as intended. Fixes: 135d9f7d135a ('extcon: max77843: Clear IRQ bits state before request IRQ') Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Jaewon Kim <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> [cw00.choi: Modify the patch title] Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions