diff options
| author | Thomas Gleixner <[email protected]> | 2011-03-24 21:53:10 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2011-03-24 22:17:56 +0000 |
| commit | 00a30b254b88d2d4f5af00835a9b7f70326def9b (patch) | |
| tree | 95c27923d03b1d5757300602a86472cf9411712c /lib/debugobjects.c | |
| parent | x86, mpparse: Move check_slot into CONFIG_X86_IO_APIC context (diff) | |
| download | kernel-00a30b254b88d2d4f5af00835a9b7f70326def9b.tar.gz kernel-00a30b254b88d2d4f5af00835a9b7f70326def9b.zip | |
x86: DT: Fix return condition in irq_create_of_mapping()
The xlate() function returns 0 or a negative error code. Returning the
error code blindly will be seen as an huge irq number by the calling
function because irq_create_of_mapping() returns an unsigned value.
Return 0 (NO_IRQ) as required.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
