Skip to content
Commit 361ae8cb authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Konrad Rzeszutek Wilk
Browse files

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: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 0ce790e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment