]> git.karo-electronics.de Git - karo-tx-linux.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, 29 Sep 2011 18:33:26 +0000 (14:33 -0400)
commitaa42319872882b7ba36bf3c5d85a3d1f389e6368
treeef39473683763622b4b86f1225a0c1b4269557b1
parent2280dd329188862afb6038e9de5ee90e8630e0ef
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.

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