[PATCH] dma/idxd: fix return value for pci device commands

Walsh, Conor conor.walsh at intel.com
Tue Jun 7 12:56:59 CEST 2022


> Subject: [PATCH] dma/idxd: fix return value for pci device commands
> 
> When sending a command to an idxd device via pci bar, the response from
> HW is checked to ensure it was successful. The response was incorrectly
> being negated before being returned by the function, meaning error codes
> cannot be checked against the HW specification.
> 
> This patch fixes the return values of the function by removing the
> negation.
> 
> Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
> ---

Acked-by: Conor Walsh <conor.walsh at intel.com>


More information about the dev mailing list