diff options
| author | Jens Wiklander <jens.wiklander@linaro.org> | 2021-04-19 18:46:30 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-10 13:39:21 +0200 |
| commit | 426ba49ec50b5f1c8c10fdef095b5718b673d121 (patch) | |
| tree | 23b421b5a57dbaef281ce9d31cd891ce59e642cd /include | |
| parent | d866a6e61a4de0eb13973eb8a85c780323876711 (diff) | |
optee: use export_uuid() to copy client UUID
[ Upstream commit 673c7aa2436bfc857b92417f3e590a297c586dde ]
Prior to this patch optee_open_session() was making assumptions about
the internal format of uuid_t by casting a memory location in a
parameter struct to uuid_t *. Fix this using export_uuid() to get a well
defined binary representation and also add an octets field in struct
optee_msg_param in order to avoid casting.
Fixes: c5b4312bea5d ("tee: optee: Add support for session login client UUID generation")
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
