]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: Make sure interrupt is allocated ok by lguest_setup_irq
authorStratos Psomadakis <psomas@cslab.ece.ntua.gr>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +1030)
commit4499f76aa5ed5a61cf4a52d00d6eedb4748556a9
tree991ed5cd8c219543fb32f2b919556d5634859c90
parent6f391352607a186eca01851695f5a4880cc396e6
lguest: Make sure interrupt is allocated ok by lguest_setup_irq

Make sure the interrupt is allocated correctly by lguest_setup_irq (check the
return value of irq_alloc_desc_at for -ENOMEM)

Signed-off-by: Stratos Psomadakis <psomas@cslab.ece.ntua.gr>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (cleanups and commentry)
arch/x86/lguest/boot.c
drivers/lguest/lguest_device.c