summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2011-03-30 21:14:26 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-30 21:37:04 +0200
commit361ae8cb57ec35ace2fa5f9695dba14eca9893e0 (patch)
tree2a2a2dac4ad8abbe701e4c475bd6e6470ea243bd /arch/x86
parentLinux 2.6.39-rc1 (diff)
downloadlinux-361ae8cb57ec35ace2fa5f9695dba14eca9893e0.tar.xz
linux-361ae8cb57ec35ace2fa5f9695dba14eca9893e0.zip
xen: events: fix error checks in bind_*_to_irqhandler()
Checking 'irq < 0' doesn't work when 'irq' is unsigned. The assigned bind_evtchn_to_irq() and bind_virq_to_irq() return int, so using int appears appropriate. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions