HomeFreeBSD

Set error value when allocation of IO irq fails in ENA

Description

Set error value when allocation of IO irq fails in ENA

bus_alloc_resource_any() is not returning error value in case of an
error.
If the function call fails, the error value was not passed to the
ena_up() function.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Details

Committed
mwMay 30 2019, 1:20 PM
Parents
rS348395: Set vaddr and paddr as NULL when DMA alloc fails in ENA
Branches
Unknown
Tags
Unknown