Skip to content
Commit 58911b7a authored by Mark-PK Tsai's avatar Mark-PK Tsai Committed by Greg Kroah-Hartman
Browse files

tee: optee: ffa: Fix missing-field-initializers warning



[ Upstream commit e0556255 ]

The 'missing-field-initializers' warning was reported
when building with W=2.
This patch use designated initializers for
'struct ffa_send_direct_data' to suppress the warning
and clarify the initialization intent.

Signed-off-by: default avatarming-jen.chang <ming-jen.chang@mediatek.com>
Signed-off-by: default avatarMark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 945658c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment