Skip to content
Commit d4b4da94 authored by Daniel Leung's avatar Daniel Leung Committed by Benjamin Cabé
Browse files

x86: fix return for arch_pcie_msi_vectors_allocate()



arch_pcie_msi_vectors_allocate() has a return type of uint8_t.
One of the error path returns -1 which would result in 255
being returned. So fix that by returning 0 instead, as there is
no vector being allocated anyway.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent bf892ffe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment