diff options
author | Thomas Gleixner <[email protected]> | 2014-05-07 15:44:19 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-05-16 14:05:21 +0200 |
commit | 0a0a94219074d79370b1cd1b533ead63d51c3730 (patch) | |
tree | 2146718c8f6622d8c881ec99e74024eeaf6138ed /tools/perf/util/trace-event-scripting.c | |
parent | 3670802223e164f1089287d1c223d34d3c5dc3da (diff) |
s390: pci: Check return value of alloc_irq_desc() proper
alloc_irq_desc() returns an integer and as documented either a valid
irq number or a negative error code. Checking for NO_IRQ is definitely
not the proper error handling.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions