Re: [PATCH v8 04/11] tee: add TEE_IOCTL_PARAM_ATTR_TYPE_OBJREF

From: Randy Dunlap
Date: Wed Aug 20 2025 - 23:23:41 EST




On 8/20/25 4:38 PM, Amirreza Zarrabi wrote:
> +/**
> + * struct tee_ioctl_invoke_func_arg - Invokes an object in a Trusted Application
> + * @id: [in] Object id
> + * @op: [in] Object operation, specific to the object
> + * @ret: [out] return value
> + * @num_params [in] number of parameters following this struct

Missing colon (':') above:
* @num_params:

> + */
> +struct tee_ioctl_object_invoke_arg {
> + __u64 id;
> + __u32 op;
> + __u32 ret;
> + __u32 num_params;
> + /* num_params tells the actual number of element in params */
> + struct tee_ioctl_param params[];
> +};

--
~Randy