aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-12-09 14:52:03 +0300
committerMark Brown <[email protected]>2017-12-11 11:42:03 +0000
commitcd430a244cd5d3ca0f4053718eabdf42bc12c517 (patch)
treed640bcd08422e6c4563bd3ef399da19ec964b925 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentfa8cc38165c2f6f73bf947087b3cdc5dd9b9b560 (diff)
ASoC: nuc900: Fix platform_get_irq() error checking some more
The error handling doesn't work here because "nuc900_audio->irq_num" is unsigned. Also we should be checking for < 0 and not <= 0 but I believe that's harmless. The platform_get_irq() comments don't talk about the return values... Fixes: fa8cc38165c2 ("ASoC: nuc900: Fix platform_get_irq's error checking") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions