mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: c5b4312bea ("tee: optee: Add support for session login client UUID generation")
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>