summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-02-28 14:02:23 -0600
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-02 20:53:16 +0000
commit50d4cc74b8a720a9682a9c94f7e62a5de6b2ed3a (patch)
tree058d72e65cd6d845ca4f72341e2ff99c796a4d15 /tools/perf/scripts/python/flamegraph.py
parent56bd57e7b161f75535df91b229b0b2c64c6e5581 (diff)
iio: orientation: hid-sensor-rotation: fix quaternion alignment
Restore the alignment of sampled_vals to 16 bytes by using IIO_DECLARE_QUATERNION(). This field contains a quaternion value which has scan_type.repeat = 4 and storagebits = 32. So the alignment must be 16 bytes to match the assumptions of iio_storage_bytes_for_si() and also to not break userspace. Reported-by: Lixu Zhang <lixu.zhang@intel.com> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221077 Fixes: b31a74075cb4 ("iio: orientation: hid-sensor-rotation: remove unnecessary alignment") Tested-by: Lixu Zhang <lixu.zhang@intel.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions