Skip to content
Commit 9a22f2f3 authored by Martin Oliveira's avatar Martin Oliveira Committed by Christoph Hellwig
Browse files

parisc: return error code from .map_sg() ops



The .map_sg() op now expects an error code instead of zero on failure.
Return -EINVAL if the ioc cannot be obtained.

Signed-off-by: default avatarMartin Oliveira <martin.oliveira@eideticom.com>
Signed-off-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent ba3a0482
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment