aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorCristian Marussi <[email protected]>2021-06-28 17:00:42 +0000
committerSudeep Holla <[email protected]>2021-07-13 10:42:14 +0000
commit187a002b07e8089f0b5657eafec50b5d05625569 (patch)
tree676f75c2472a0dde7ce3359cfe134ded860587a3 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentfirmware: arm_scmi: Fix kernel doc warnings about return values (diff)
downloadkernel-187a002b07e8089f0b5657eafec50b5d05625569.tar.gz
kernel-187a002b07e8089f0b5657eafec50b5d05625569.zip
firmware: arm_scmi: Avoid padding in sensor message structure
scmi_resp_sensor_reading_complete structure is meant to represent an SCMI asynchronous reading complete message. 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 the padding within the structure. Alternatively we could to mark the structure packed. Link: https://lore.kernel.org/r/[email protected] Fixes: e2083d3673916 ("firmware: arm_scmi: Add SCMI v3.0 sensors timestamped reads") Signed-off-by: Cristian Marussi <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions