aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorsayli karnik <[email protected]>2016-09-28 21:46:51 +0530
committerJonathan Cameron <[email protected]>2016-10-01 14:40:23 +0100
commit231147ee77f39f4134935686e9d7e415bdf48149 (patch)
treeab5c5dfbac3a3c44cecc4dbe6a2134f39bd6a31c /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0ae952e3bd1c761d4952c8ff1a259292e4f03e89 (diff)
iio: maxim_thermocouple: Align 16 bit big endian value of raw reads
Driver was reporting invalid raw read values for MAX6675 on big endian architectures. MAX6675 buffered mode is not affected, nor is the MAX31855. The driver was losing a 2 byte read value when it used a 32 bit integer buffer to store a 16 bit big endian value. Use big endian types to properly align buffers on big endian architectures. Fixes following sparse endianness warnings: warning: cast to restricted __be16 warning: cast to restricted __be32 Fixes checkpatch issue: CHECK: No space is necessary after a cast Signed-off-by: sayli karnik <[email protected]> Fixes: 1f25ca11d84a ("iio: temperature: add support for Maxim thermocouple chips") Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions