Re: [PATCH 3/5] tools: PCI: Fix parsing the return value of IOCTLs

From: Greg KH
Date: Fri Aug 19 2022 - 11:27:33 EST


On Fri, Aug 19, 2022 at 08:20:16PM +0530, Manivannan Sadhasivam wrote:
> "pci_endpoint_test" driver now returns 0 for success and negative error
> code for failure. So adapt to the change by reporting FAILURE if the
> return value is < 0, and SUCCESS otherwise.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>

Fixes: tag and cc: stable?

thanks,

greg k-h