Skip to content

Commit cfbf7d8

Browse files
committed
libqcomtee: update tee.h following the upstream comments
Signed-off-by: Amirreza Zarrabi <[email protected]>
1 parent 457c806 commit cfbf7d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libqcomtee/src/linux/tee.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,13 +424,13 @@ struct tee_ioctl_shm_register_data {
424424

425425
/**
426426
* struct tee_ioctl_invoke_func_arg - Invokes an object in a Trusted Application.
427-
* @object: [in] Object id
427+
* @id: [in] Object id
428428
* @op: [in] Object operation, specific to the object
429429
* @ret: [out] return value
430430
* @num_params [in] number of parameters following this struct
431431
*/
432432
struct tee_ioctl_object_invoke_arg {
433-
__u64 object;
433+
__u64 id;
434434
__u32 op;
435435
__u32 ret;
436436
__u32 num_params;

libqcomtee/src/qcomtee_object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ int qcomtee_object_invoke(struct qcomtee_object *object, qcomtee_op_t op,
712712

713713
/* INVOKE object: */
714714
arg->invoke.op = op;
715-
arg->invoke.object = object->tee_object_id;
715+
arg->invoke.id = object->tee_object_id;
716716
arg->invoke.num_params = num_params;
717717
tee_params = (struct tee_ioctl_param *)(&arg->invoke + 1);
718718

0 commit comments

Comments
 (0)