Skip to content
Commit 9d093e29 authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk
Browse files

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: default avatarIan Campbell <ian.campbell@citrix.com>
[v1: Use BUG_ON instead of BUG]
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent a102a9ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment