]> 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)
commit8075506e34bba25d48412efdf6844962bd979fcd
tree991ed5cd8c219543fb32f2b919556d5634859c90
parentfc9e2026257f0df2b0da3c794a1ed9565610b223
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