]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/irq: If we fail during msi_capability_init return proper error code.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 17:26:45 +0000 (13:26 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 19:00:11 +0000 (15:00 -0400)
commit2353ede60768e3390ae1e93eeeddbb8b12631c73
tree6ecd76c5a865448e8d77531b2b16496dfb4e1309
parent55eb6092903a25a29626ad3b4dc3d7d97837bfbd
xen/irq: If we fail during msi_capability_init return proper error code.

There are three different modes: PV, HVM, and initial domain 0. In all
the cases we would return -1 for failure instead of a proper error code.
Fix this by propagating the error code from the generic IRQ code.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/pci/xen.c
drivers/xen/events.c