Home
last modified time | relevance | path

Searched hist:ee3e1c543ee5e81af4ed3307de7dd3383f4085ce (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_svc.cee3e1c543ee5e81af4ed3307de7dd3383f4085ce Tue Apr 07 07:42:27 UTC 2020 Cedric Neveux <cedric.neveux@nxp.com> core: utee_param_to_param(): set mobj to NULL when NULL memrefs of size 0

Set the tee_ta_param mobj to NULL if user parameter is a NULL memrefs
of size 0.
When mobj pointer is NULL, it also identify the last parameter of the list.

Fixes: 9d2e798360b5 ("core: TEE capability for null sized memrefs support")

Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jerome Forissier <jerome@forissier.org> (HiKey960)
Tested-by: Etienne Carriere <etienne.carriere@linaro.org>