]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 09:24:21 +0000 (03:24 -0600)
commit7e4be120e88974d49ebb4bcf837134cfb71efc8c
tree0f51a3f0d1447962b9b0f8cb5a9c6c3b5604e40f
parent412400abaaa6ef02adff35419188689ea6d3ec7e
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