nvme-fc: fix status code handling in nvme_fc_fcpio_done

James Smart james.smart at broadcom.com
Tue Apr 18 14:08:33 PDT 2017


On 4/18/2017 8:52 AM, Christoph Hellwig wrote:
> From: Christoph Hellwig <hch at lst.de>
>
> nvme_complete_async_event expects the little endian status code
> including the phase bit, and a new completion handler I plan to
> introduce will do so as well.
>
> Change the status variable into the little endian format with the
> phase bit used in the NVMe CQE to fix / enable this.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>
> ---
>

look good

-- james

Signed-off-by: James Smart <james.smart at broadcom.com>




More information about the Linux-nvme mailing list