Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information