diff options
author | Thomas Gleixner <[email protected]> | 2014-05-07 15:44:10 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-05-16 14:05:19 +0200 |
commit | aa5125a45568f8f666f6d2f224fe8ab261b1069e (patch) | |
tree | 4c3ffd6028e3611b8cb6bf7162861aab8dfb9394 /fs/jbd2/commit.c | |
parent | d07c9f18756e8231909a9bbcbfa7502c60cbc810 (diff) |
iommu: smar: Fix return value check of create_irq()
ia64 returns a negative error code when allocation fails andx86
returns 0. Make it handle both.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: [email protected]
Acked-by: Joerg Roedel <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions