aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_cancel_inference.c
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2022-06-21 16:58:45 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-06-30 16:50:27 +0200
commit53fd03d0b8d02fa0be0aa9db4dce8766be459031 (patch)
tree5b44804cffeab24b36801e1dd850dbb70ae55ef9 /kernel/ethosu_cancel_inference.c
parent2d69b8b5633d4d3cbd788443c54b5656077efce9 (diff)
downloadethos-u-linux-driver-stack-53fd03d0b8d02fa0be0aa9db4dce8766be459031.tar.gz
Improved logging22.08-rc222.08-rc122.08
Add logging class for driver library. Log severity can be configured using an environment variable. Add information to prints in kernel space. Change-Id: I19a1078869733746726515a6cafb79110314066d
Diffstat (limited to 'kernel/ethosu_cancel_inference.c')
-rw-r--r--kernel/ethosu_cancel_inference.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/ethosu_cancel_inference.c b/kernel/ethosu_cancel_inference.c
index 6d93cf1..e2acb22 100644
--- a/kernel/ethosu_cancel_inference.c
+++ b/kernel/ethosu_cancel_inference.c
@@ -121,8 +121,8 @@ int ethosu_cancel_inference_request(struct ethosu_inference *inf,
goto kfree;
dev_info(cancellation->edev->dev,
- "Inference cancellation create. Id=%d, handle=0x%p\n",
- cancellation->msg.id, cancellation);
+ "Inference cancellation create. cancel=0x%pK, msg.id=%d\n",
+ cancellation, cancellation->msg.id);
ret = ethosu_cancel_inference_send(cancellation);
if (0 != ret)
@@ -166,7 +166,7 @@ deregister:
kfree:
dev_info(cancellation->edev->dev,
- "Cancel inference destroy. handle=0x%p\n", cancellation);
+ "Cancel inference destroy. cancel=0x%pK\n", cancellation);
/* decrease the reference on the inference we are refering to */
ethosu_inference_put(cancellation->inf);
devm_kfree(cancellation->edev->dev, cancellation);