Re: [PATCH] scsi: qla2xxx: Use -EIO in qla_get_tmf()

From: James Bottomley
Date: Fri Apr 19 2024 - 08:46:24 EST


On Fri, 2024-04-19 at 14:34 +0200, Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Fri, 19 Apr 2024 14:24:56 +0200
>
> Add a minus sign before the error code “EIO”
> so that a negative value will eventually be returned
> as in another error case.

No it won't. If you look how it's used the consumer doesn't pass on
the error.

James