]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: pressure: zpa2326: Use aligned_s64 for the timestamp
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Apr 2025 10:34:41 +0000 (11:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 08:57:55 +0000 (10:57 +0200)
commit55087dbb6bf2495526881c1dad400d3ac95b4078
tree31858ab6b45b10b16c78d381518e70922c6305f6
parentc4f5e7e417034b05f5d2f5fa9a872db897da69bd
iio: pressure: zpa2326: Use aligned_s64 for the timestamp

[ Upstream commit 886a446b76afddfad307488e95e87f23a08ffd51 ]

On x86_32 s64 fields are only 32-bit aligned.  Hence force the alignment of
the field and padding in the structure by using aligned_s64 instead.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250413103443.2420727-19-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iio/pressure/zpa2326.c