[BCC all OP-TEE maintainers]
Hi OP-TEE maintainers & contributors,
OP-TEE v3.17.0 is scheduled to be released on 2022-07-15. So, now is a
good time to start testing the master branch on the various platforms
and report/fix any bugs.
The GitHub pull request for collecting Tested-by tags or any other
comments is https://github.com/OP-TEE/optee_os/pull/5395
As usual, we will create a release candidate tag one week before the
release date for final testing.
In addition to that you can find some additional information related
to releases here:
https://optee.readthedocs.io/en/latest/general/releases.html
Thanks,
Jens
Hello arm-soc maintainers,
Please pull this small patch which fixes a compiler warning in the OP-TEE
driver.
Note that this pull request is on top of and earlier accepted/applied [1]
pull request in order to avoid a merge conflict.
Thanks,
Jens
[1] https://lore.kernel.org/lkml/20220503192916.GA3288817@jade/
The following changes since commit 3e47235eaee09488c7e467b9aaccb7c93c862c6b:
tee: make tee_shm_register_kernel_buf vmalloc supported (2022-04-05 08:04:16 +0200)
are available in the Git repository at:
https://git.linaro.org/people/jens.wiklander/linux-tee.git/ tags/optee-warning-for-v5.19
for you to fetch changes up to a3b9ecc805e9131476c719111fe347c7dbc0d1d1:
tee: optee: Pass a pointer to virt_addr_valid() (2022-05-30 08:06:45 +0200)
----------------------------------------------------------------
Fix a compiler warning in OP-TEE driver
----------------------------------------------------------------
Linus Walleij (1):
tee: optee: Pass a pointer to virt_addr_valid()
drivers/tee/optee/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
A pointer into virtual memory is represented by a (void *)
not an u32, so the compiler warns:
drivers/tee/optee/call.c:365:29: warning: passing argument 1
of 'virt_to_pfn' makes pointer from integer without a
cast [-Wint-conversion]
Fix this with an explicit cast.
Cc: Sumit Garg <sumit.garg(a)linaro.org>
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
---
drivers/tee/optee/call.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c
index bd49ec934060..51275d77ec84 100644
--- a/drivers/tee/optee/call.c
+++ b/drivers/tee/optee/call.c
@@ -362,7 +362,7 @@ int optee_check_mem_type(unsigned long start, size_t num_pages)
* Allow kernel address to register with OP-TEE as kernel
* pages are configured as normal memory only.
*/
- if (virt_addr_valid(start))
+ if (virt_addr_valid((void *)start))
return 0;
mmap_read_lock(mm);
--
2.35.1