[PATCH] NVMe: Persistent Reservation NVMe translations

Keith Busch keith.busch at intel.com
Mon Mar 23 12:18:16 PDT 2015


On Mon, 23 Mar 2015, Keith Busch wrote:
> +	for (i = 0; i < regctl; i++) {
> +		keys->keys[i] = cpu_to_be64(le32_to_cpu(
> +					resv_status->regctl_ds[i].rkey));
> +	}

Sparse failed me! Should be le64_to_cpu, not 32. Pretty sure that's the
only type size bug. I'll let this sit for a few days before spinning a v2.



More information about the Linux-nvme mailing list