]> git.baikalelectronics.ru Git - kernel.git/commit
xen: fix error handling path if xen_allocate_irq_dynamic fails
authorWei Liu <wei.liu2@citrix.com>
Thu, 31 Jan 2013 14:46:56 +0000 (14:46 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 6 Feb 2013 15:32:45 +0000 (10:32 -0500)
commitaa03aac74ca27e48eabd66ad64baeac66d82b764
tree9abf172e611c5e1729f273bcb3ae6e4ec2cb484a
parentb61dfa1a70ddd33cf83c9dd00f8e2e96177388eb
xen: fix error handling path if xen_allocate_irq_dynamic fails

It is possible that the call to xen_allocate_irq_dynamic() returns negative
number other than -1.

Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c