]> Git Repo - linux.git/commit
xen: events: fix error checks in bind_*_to_irqhandler()
authorNicolas Kaiser <[email protected]>
Wed, 30 Mar 2011 19:14:26 +0000 (21:14 +0200)
committerKonrad Rzeszutek Wilk <[email protected]>
Wed, 30 Mar 2011 19:37:04 +0000 (15:37 -0400)
commit361ae8cb57ec35ace2fa5f9695dba14eca9893e0
tree2a2a2dac4ad8abbe701e4c475bd6e6470ea243bd
parent0ce790e7d736cedc563e1fb4e998babf5a4dbc3d
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 <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
drivers/xen/events.c
This page took 0.050763 seconds and 4 git commands to generate.