> -----Original Message-----
> From: Don Brace [mailto:[email protected]]
> Sent: Wednesday, April 27, 2016 5:14 PM
> Subject: [PATCH 2/7] hpsa: add sas_address to sysfs device attibute
> 
> From: Joseph T Handzik <[email protected]>
...
> +static ssize_t sas_address_show(struct device *dev,
> +           struct device_attribute *attr, char *buf)
> +{
...
> +     return snprintf(buf, PAGE_SIZE, "0x%016llx\n", sas_address);

What endianness is sas_address?  Unless it's already been byte reversed,
that'll print differently on big-endian and little-endian systems.


N�����r��y����b�X��ǧv�^�)޺{.n�+����{���"�{ay�ʇڙ�,j��f���h���z��w���
���j:+v���w�j�m��������zZ+�����ݢj"��!�i

Reply via email to