Merge tag 'tee-fix-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee into arm/fixes
Reenable kernel login method for kernel TEE client API The kernel TEE login method was accidentally disabled previously when enabling a few other login methods, so fix that here. * tag 'tee-fix-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee: tee: client UUID: Skip REE kernel login method as well Link: https://lore.kernel.org/r/20201013070918.GA3328976@jade Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -200,7 +200,8 @@ int tee_session_calc_client_uuid(uuid_t *uuid, u32 connection_method,
|
||||
int name_len;
|
||||
int rc;
|
||||
|
||||
if (connection_method == TEE_IOCTL_LOGIN_PUBLIC) {
|
||||
if (connection_method == TEE_IOCTL_LOGIN_PUBLIC ||
|
||||
connection_method == TEE_IOCTL_LOGIN_REE_KERNEL) {
|
||||
/* Nil UUID to be passed to TEE environment */
|
||||
uuid_copy(uuid, &uuid_null);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user