]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
optee: update outdated comment
authorJulia Lawall <Julia.Lawall@inria.fr>
Sun, 4 Jan 2026 17:01:19 +0000 (18:01 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 5 Jan 2026 09:34:28 +0000 (10:34 +0100)
The function cmd_alloc_suppl() was renamed as
optee_rpc_cmd_alloc_suppl() in commit c51a564a5b48
("optee: isolate smc abi").  Update the comment
accordingly.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/rpc.c

index ebbbd42b0e3e72f4b222000c07d759509a74926e..97fc5b14db0cefa9d8126cf3a523472356f69f13 100644 (file)
@@ -247,8 +247,8 @@ void optee_rpc_cmd_free_suppl(struct tee_context *ctx, struct tee_shm *shm)
        param.u.value.c = 0;
 
        /*
-        * Match the tee_shm_get_from_id() in cmd_alloc_suppl() as secure
-        * world has released its reference.
+        * Match the tee_shm_get_from_id() in optee_rpc_cmd_alloc_suppl()
+        * as secure world has released its reference.
         *
         * It's better to do this before sending the request to supplicant
         * as we'd like to let the process doing the initial allocation to