]> 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>
Thu, 10 Jul 2025 13:57:33 +0000 (15:57 +0200)
commit82ddbbc989493e6dc4a5b70bdca47f7ed734bdd6
treebca23ea7a629ab498ac7a3150272ce13040c3a6f
parent1f25f2d3fa29325320c19a30abf787e0bd5fc91b
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