History

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.

Cristian Marussi committed 6 years ago

Commit 02c003c1 parent a4ee9d01 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/scmi_protocol.h+1−1
@@ -421,7 +421,7 @@ struct scmi_base_error_report { · 420 unmodified lines
421 u32 agent_id;421 u32 agent_id;
422 bool fatal;422 bool fatal;
423 u16 cmd_count;423 u16 cmd_count;
424 u64 reports[0];424 u64 reports[];
425};425};
426 426
427#endif /* _LINUX_SCMI_PROTOCOL_H */427#endif /* _LINUX_SCMI_PROTOCOL_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t