> -     rq->cmd[6] = (h->bufflen >> 24) & 0xff;
> -     rq->cmd[7] = (h->bufflen >> 16) & 0xff;
> -     rq->cmd[8] = (h->bufflen >>  8) & 0xff;
> -     rq->cmd[9] = h->bufflen & 0xff;
> +     put_unaligned_be32(bufflen, &rq->cmd[6]);

This is unrelated to the rest of the patch, can you split it out,
maybe together with other get/put_unaligned conversions?

Otherwise looks good:

Reviewed-by: Christoph Hellwig <h...@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to