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-update-for-6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee into soc/drivers

OP-TEE update for 6.20

- A micro optimization by making a local array static const
- Update OP-TEE mailing list as moderated
- Update an outdated comment for cmd_alloc_suppl()

* tag 'optee-update-for-6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee:
optee: make read-only array attr static const
MAINTAINERS: Mark the OP-TEE mailing list moderated
optee: update outdated comment

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

+6 -6
+3 -3
MAINTAINERS
··· 19510 19510 19511 19511 OP-TEE DRIVER 19512 19512 M: Jens Wiklander <jens.wiklander@linaro.org> 19513 - L: op-tee@lists.trustedfirmware.org 19513 + L: op-tee@lists.trustedfirmware.org (moderated for non-subscribers) 19514 19514 S: Maintained 19515 19515 F: Documentation/ABI/testing/sysfs-bus-optee-devices 19516 19516 F: drivers/tee/optee/ 19517 19517 19518 19518 OP-TEE RANDOM NUMBER GENERATOR (RNG) DRIVER 19519 19519 M: Sumit Garg <sumit.garg@kernel.org> 19520 - L: op-tee@lists.trustedfirmware.org 19520 + L: op-tee@lists.trustedfirmware.org (moderated for non-subscribers) 19521 19521 S: Maintained 19522 19522 F: drivers/char/hw_random/optee-rng.c 19523 19523 ··· 25616 25616 TEE SUBSYSTEM 25617 25617 M: Jens Wiklander <jens.wiklander@linaro.org> 25618 25618 R: Sumit Garg <sumit.garg@kernel.org> 25619 - L: op-tee@lists.trustedfirmware.org 25619 + L: op-tee@lists.trustedfirmware.org (moderated for non-subscribers) 25620 25620 S: Maintained 25621 25621 F: Documentation/ABI/testing/sysfs-class-tee 25622 25622 F: Documentation/driver-api/tee.rst
+3 -3
drivers/tee/optee/rpc.c
··· 43 43 struct i2c_msg msg = { }; 44 44 size_t i; 45 45 int ret = -EOPNOTSUPP; 46 - u8 attr[] = { 46 + static const u8 attr[] = { 47 47 TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT, 48 48 TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT, 49 49 TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT, ··· 247 247 param.u.value.c = 0; 248 248 249 249 /* 250 - * Match the tee_shm_get_from_id() in cmd_alloc_suppl() as secure 251 - * world has released its reference. 250 + * Match the tee_shm_get_from_id() in optee_rpc_cmd_alloc_suppl() 251 + * as secure world has released its reference. 252 252 * 253 253 * It's better to do this before sending the request to supplicant 254 254 * as we'd like to let the process doing the initial allocation to