On 01/31/14 10:29, Hannes Reinecke wrote:
> -     memset(h->buff, 0, stpg_len);
> -     h->buff[4] = TPGS_STATE_OPTIMIZED & 0x0f;
> -     h->buff[6] = (h->group_id >> 8) & 0xff;
> -     h->buff[7] = h->group_id & 0xff;
> +     memset(stpg_data, 0, stpg_len);
> +     stpg_data[4] = TPGS_STATE_OPTIMIZED & 0x0f;
> +     stpg_data[6] = (group_id >> 8) & 0xff;
> +     stpg_data[7] = group_id & 0xff;

Any reason why put_unaligned_be16() is not used here ?

Bart.
--
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