Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'optee-for-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee into soc/drivers

OP-TEE update for 7.1

Simplify TEE implementor ID match logic

* tag 'optee-for-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee:
optee: simplify OP-TEE context match

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1 -4
+1 -4
drivers/tee/optee/device.c
··· 13 13 14 14 static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data) 15 15 { 16 - if (ver->impl_id == TEE_IMPL_ID_OPTEE) 17 - return 1; 18 - else 19 - return 0; 16 + return (ver->impl_id == TEE_IMPL_ID_OPTEE); 20 17 } 21 18 22 19 static int get_devices(struct tee_context *ctx, u32 session,