[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162628065273.2615991.7447656949078196138.b4-ty@arm.com>
Date: Wed, 14 Jul 2021 17:38:21 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Cristian Marussi <cristian.marussi@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Sudeep Holla <sudeep.holla@....com>
Subject: Re: [PATCH] firmware: arm_scmi: Avoid padding in sensor message structure
On Mon, 28 Jun 2021 18:00:42 +0100, Cristian Marussi wrote:
> Structure scmi_resp_sensor_reading_complete is meant to represent an SCMI
> asynchronous reading complete message: representing the readings field with
> a 64bit type forces padding and breaks reads in scmi_sensor_reading_get.
>
> Split it in two adjacent 32bit readings_low/high subfields to avoid padding
> or the need to make it packed.
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/1] firmware: arm_scmi: Avoid padding in sensor message structure
https://git.kernel.org/sudeep.holla/c/187a002b07
--
Regards,
Sudeep
Powered by blists - more mailing lists