summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-15 18:29:11 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-12-28 14:28:16 +0000
commitec2253b064b4b1b074a5a2e0ca0f89fcec323418 (patch)
tree2fa898a10111429cd1a5a540a18643fd62a1cfd9 /tools/perf/scripts/python/stackcollapse.py
parent27e6ddf291b1c05bfcc3534e8212ed6c46447c60 (diff)
iio: adc: rockchip: correct alignment of timestamp
I assume this device is only used on architectures where a 8 byte integer type is always 8 byte aligned. However, I would prefer IIO drivers to never make that assumption as the code gets copied into new drivers which are not so tightly couple to one driver and those can run on architectures that align these types to only 4 bytes in which case this structure may be 4 byte to small leading to a buffer overrun. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241215182912.481706-21-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions