Re: [PATCH 6/6] ibmvscsi: Add endian conversions to sysfs attribute show functions

2016-02-04 Thread Johannes Thumshirn
On Wed, Feb 03, 2016 at 05:28:34PM -0600, Tyrel Datwyler wrote: > The values returned by the show functions for the host os_type, > mad_version, and partition_number attributes get their values > directly from the madapter_info struct whose associated fields are > __be32 typed. Added endian

[PATCH 6/6] ibmvscsi: Add endian conversions to sysfs attribute show functions

2016-02-03 Thread Tyrel Datwyler
The values returned by the show functions for the host os_type, mad_version, and partition_number attributes get their values directly from the madapter_info struct whose associated fields are __be32 typed. Added endian conversion to ensure these values are sane on LE platforms. Signed-off-by: