securemsm: smcinvoke: Change zero length arrays to flexible arrays

In latest kernel upgrade Zero Length arrays are not allowed.
Replace with Flexible arrays.

Change-Id: Ide4ce5ac5f75197a432fb99333a702cdc4ff88c5
Signed-off-by: Anmolpreet Kaur <quic_anmolpre@quicinc.com>
Cette révision appartient à :
Anmolpreet Kaur
2023-10-20 20:31:16 +05:30
Parent 026f1690e3
révision 77752c91fd

Voir le fichier

@@ -248,7 +248,7 @@ struct smcinvoke_msg_hdr {
struct smcinvoke_tzcb_req {
int32_t result;
struct smcinvoke_msg_hdr hdr;
union smcinvoke_tz_args args[0];
union smcinvoke_tz_args args[];
};
struct smcinvoke_file_data {
@@ -263,7 +263,7 @@ struct smcinvoke_piggyback_msg {
uint32_t version;
uint32_t op;
uint32_t counts;
int32_t objs[0];
int32_t objs[];
};
/* Mapped memory object data