diff options
Diffstat (limited to 'drivers/tee/qcomtee/qcomtee_object.h')
| -rw-r--r-- | drivers/tee/qcomtee/qcomtee_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/qcomtee/qcomtee_object.h b/drivers/tee/qcomtee/qcomtee_object.h index 5221449be7db..d763f90c62bb 100644 --- a/drivers/tee/qcomtee/qcomtee_object.h +++ b/drivers/tee/qcomtee/qcomtee_object.h @@ -176,7 +176,7 @@ qcomtee_object_invoke_ctx_alloc(struct tee_context *ctx) { struct qcomtee_object_invoke_ctx *oic; - oic = kzalloc(sizeof(*oic), GFP_KERNEL); + oic = kzalloc_obj(*oic, GFP_KERNEL); if (oic) oic->ctx = ctx; return oic; |
