]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Allow pirq_init() to return an error
authorSimon Glass <sjg@chromium.org>
Mon, 10 Aug 2015 13:05:08 +0000 (07:05 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:20 +0000 (10:23 +0200)
commit73ccb6587a22292ee54acf26250b3dfa0c611181
tree377614601d8d8fbcf76e3bb10c178c3f87c300a6
parentc6deae8f5864df0f2c5a2c3491e55e1339ee56b2
x86: Allow pirq_init() to return an error

This function can fail. In this case we should return the error rather than
swallowing it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/baytrail/valleyview.c
arch/x86/cpu/irq.c
arch/x86/cpu/qemu/qemu.c
arch/x86/cpu/quark/quark.c
arch/x86/cpu/queensbay/tnc.c
arch/x86/include/asm/irq.h