Skip to content
Commit 88a3856c authored by jing yangyang's avatar jing yangyang Committed by Jens Wiklander
Browse files

tee/optee/shm_pool: fix application of sizeof to pointer



sizeof when applied to a pointer typed expression gives the size of
the pointer.

./drivers/tee/optee/shm_pool.c:38:28-34: ERROR application of sizeof to pointer

This issue was detected with the help of Coccinelle.

Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarjing yangyang <jing.yangyang@zte.com.cn>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 7d2a07b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment