On 02/14/2014 12:27 PM, Bart Van Assche wrote:
> 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 ?
> 
No specific one. Will be fixing it up in the next round.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                   zSeries & Storage
h...@suse.de                          +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
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