mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
firmware: arm_scmi: Remove zero-length array in SCMI notifications
Substitute zero-length array defined in scmi_base_error_report with a flexible length array definition. Link: https://lore.kernel.org/r/20200710133919.39792-1-cristian.marussi@arm.com Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
parent
a4ee9d0194
commit
02c003cc18
@ -421,7 +421,7 @@ struct scmi_base_error_report {
|
||||
u32 agent_id;
|
||||
bool fatal;
|
||||
u16 cmd_count;
|
||||
u64 reports[0];
|
||||
u64 reports[];
|
||||
};
|
||||
|
||||
#endif /* _LINUX_SCMI_PROTOCOL_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user