summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/host.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2021-04-19 18:46:30 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2021-05-18 07:59:27 +0200
commit673c7aa2436bfc857b92417f3e590a297c586dde (patch)
tree56b164e049a39e264742cfe11bdb815938cfcb8b /drivers/usb/chipidea/host.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
optee: use export_uuid() to copy client UUID
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>
Diffstat (limited to 'drivers/usb/chipidea/host.c')
0 files changed, 0 insertions, 0 deletions