]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/events: BUG() when we can't allocate our event->irq array.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 17:31:21 +0000 (13:31 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 19:36:25 +0000 (14:36 -0500)
commit21a6e0d3ce0d05ad19c8cbeaaeb06067386f81dc
tree2808012ff7f1a464212436f694a2f1afad9aa604
parent93b3d33b09e5183e768b3c77309ff3935088c629
xen/events: BUG() when we can't allocate our event->irq array.

In case we can't allocate we are doomed. We should BUG_ON
instead of trying to dereference it later on.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
[v1: Use BUG_ON instead of BUG]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c