mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 10:43:43 +00:00
Fix optee missing-field-initializers warning
-----BEGIN PGP SIGNATURE----- iQJOBAABCgA4FiEEFV+gSSXZJY9ZyuB5LinzTIcAHJcFAmZ9XhcaHGplbnMud2lr bGFuZGVyQGxpbmFyby5vcmcACgkQLinzTIcAHJd3phAAz8Ols0qoPyI4gn28D/NU oxcYrrBIQjXEP/Q0zUKcVYRwJ3RdHTlL1RVYUOUk/lb8fLVHydvPBmPIvG7GbI8o U4v43JHvCaGbzqFvxPkV0AFflUgFxTxJRGpEOqDYAebbba5/JX1ncNUAivwGA7SM Ez+b1fRGWm+GmfydN74Zj+KmPnVlFUyKnmrl78PBqT0MtCzQxt4oBXinhXyrs/HB +L/RwZu37Xr01XzzuArml0SaDoy+DchIuho28f79toavrR3UzeziGG9XhJgcCnyR QNr/CDMz6bBjG3/56A4vaJHR58Be4B/5+Tbi7IPEkQIaK4td1joOUWWd4L7gwlHy qvKP3+Np4c2dkTdrhr5+jr8L2sjTQIQtB0zxnQYDcsQMiLk8unbUHiYmmRaj6HAC KNcDx1vozumpwS6d6YVkQD7qA477I4hA8ZutoYl2lZODUrwf/Dx1JIp5Vt3Ul/a4 YdmbxzI27SjWVMZg2LTsHMaqLtTQOTzPvTncaBkBE0dGJYKVmU7HIbMKgykahM8s NL6UncATx2JoIEu0t68W8Y01CeuIHRI9tD0NyDAc7PkRn64uxUTRxhm9mIOY9QQ2 2MB0hb883uDrKzUI4utCB4u0sKi/WMSSSAPaRqnw3cJkUkTihCrJyCU1Gs1ZvIme KImhnoyWfsxwpnjh+TK7iO0= =WvBx -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmZ9gO4ACgkQYKtH/8kJ UifQ/A//T5yiXkw7FqIs5as+UwaoY0Z7xDxVO6IM8y25KWZjEgW3Ma+hsf+QpNN2 ZUTI7rads6dxD2NB5qTJQAt7sFXn/kFfWyxv8AAtZQY8ISgsUySyvMdBg0vQ4QFo 4kUzSO/pjTZbQFVZP+YgblsRhwL0ZHtdUdqNn0Le7JnRslBcz9SomD1pAyJ+sBWf KEuUhuzB1D6Fcqi25sgGb9A28vpEVqQJOt3+InGHwYs5qkBdy1NvS65YrW4ybG3c 1nyiMvRNUt4ejXF95fNVd+ZUetrzd4L+4mp0IDDDBveTazTLTp5jNtGHJ8I6tDeF 0iaaD1cf93NX/3EneszfHO3NkhZm7L7Z7F5xUouMgfdXr1CgnddLXI+BH+0ea7Jx 93BtyQ4qtqRAKoSYZlw+obJv+j24Hs+Jsf98MEeEppXKJXVE5P2e2S4E59F3hg7J b5dg54PAq3AjP1tYRWRxyDHl49iXbvJH0Dz9v3uiHq3xISy0L6VqaJT5ewxeoTFE 1xah02KrzvkcgkZc13PimGpBe1WGd940XQr2k/zr+2HXsII8D1aCdbwwzVlaCgTY /E9tJxuarUENrB72zdt1TpE21raufF9eIDz4XBsnzZVx6p65gProSOdWMZqeQIUG 17PuD558u0ZLQbSuSIkySC6o+eskAGvVSeXJVauff1TLN8diz9M= =ZZkB -----END PGP SIGNATURE----- Merge tag 'optee-fix-for-v6.11' of https://git.linaro.org/people/jens.wiklander/linux-tee into arm/fixes Fix optee missing-field-initializers warning * tag 'optee-fix-for-v6.11' of https://git.linaro.org/people/jens.wiklander/linux-tee: tee: optee: ffa: Fix missing-field-initializers warning Link: https://lore.kernel.org/r/20240627125112.GA2674988@rayden Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
56d62dc2ba
@ -660,7 +660,9 @@ static bool optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev,
|
||||
const struct ffa_ops *ops)
|
||||
{
|
||||
const struct ffa_msg_ops *msg_ops = ops->msg_ops;
|
||||
struct ffa_send_direct_data data = { OPTEE_FFA_GET_API_VERSION };
|
||||
struct ffa_send_direct_data data = {
|
||||
.data0 = OPTEE_FFA_GET_API_VERSION,
|
||||
};
|
||||
int rc;
|
||||
|
||||
msg_ops->mode_32bit_set(ffa_dev);
|
||||
@ -677,7 +679,9 @@ static bool optee_ffa_api_is_compatbile(struct ffa_device *ffa_dev,
|
||||
return false;
|
||||
}
|
||||
|
||||
data = (struct ffa_send_direct_data){ OPTEE_FFA_GET_OS_VERSION };
|
||||
data = (struct ffa_send_direct_data){
|
||||
.data0 = OPTEE_FFA_GET_OS_VERSION,
|
||||
};
|
||||
rc = msg_ops->sync_send_receive(ffa_dev, &data);
|
||||
if (rc) {
|
||||
pr_err("Unexpected error %d\n", rc);
|
||||
@ -698,7 +702,9 @@ static bool optee_ffa_exchange_caps(struct ffa_device *ffa_dev,
|
||||
unsigned int *rpc_param_count,
|
||||
unsigned int *max_notif_value)
|
||||
{
|
||||
struct ffa_send_direct_data data = { OPTEE_FFA_EXCHANGE_CAPABILITIES };
|
||||
struct ffa_send_direct_data data = {
|
||||
.data0 = OPTEE_FFA_EXCHANGE_CAPABILITIES,
|
||||
};
|
||||
int rc;
|
||||
|
||||
rc = ops->msg_ops->sync_send_receive(ffa_dev, &data);
|
||||
|
Loading…
Reference in New Issue
Block a user