]> git.baikalelectronics.ru Git - uboot.git/commit
tee: optee: fix uuid comparisons on service discovery
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 19 Jan 2023 09:21:37 +0000 (11:21 +0200)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 20 Jan 2023 08:04:56 +0000 (10:04 +0200)
commitc7cbe608c9342cf2c65d8481e9d588a01466a6ea
treefd7117a58a97f61e98b6d75b2a4a41839cf496e5
parent423761896da30c6a5955a9ae88f4c34ddb5af1ad
tee: optee: fix uuid comparisons on service discovery

When comparing UUIDs for discovered services we only compare up to the
ptr size instead of the entire UUID

Fixes: 761a57cb82b82 ("drivers: tee: optee: discover OP-TEE services")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/core.c