* [PATCH] tee: qcomtee: fix kernel-doc warnings
@ 2026-08-02 0:39 Babanpreet Singh
2026-08-04 3:49 ` Amirreza Zarrabi
0 siblings, 1 reply; 3+ messages in thread
From: Babanpreet Singh @ 2026-08-02 0:39 UTC (permalink / raw)
To: Amirreza Zarrabi, Jens Wiklander
Cc: Sumit Garg, linux-arm-msm, op-tee, linux-kernel, Babanpreet Singh
Fix kernel-doc issues present since the driver was added in commit
d6e290837e50 ("tee: add Qualcomm TEE driver"):
- async_release() documents its second parameter as @msg, but the
parameter is named async_msg (msg is a local variable);
- struct qcomtee_msg_object_invoke documents member @ctx, but the
member is named cxt;
- enum qcomtee_arg_type leaves QCOMTEE_ARG_TYPE_NR undescribed.
The cxt spelling is part of the QTEE message format and is used
throughout the driver; struct qcomtee_msg_callback in the same header
already documents it as @cxt, so the comment is corrected rather than
the member.
No functional changes.
Assisted-by: Claude:claude-opus-5 [kernel-doc]
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
drivers/tee/qcomtee/async.c | 4 ++--
drivers/tee/qcomtee/qcomtee_msg.h | 2 +-
drivers/tee/qcomtee/qcomtee_object.h | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/tee/qcomtee/async.c b/drivers/tee/qcomtee/async.c
index 31bff4309e672..5849e51612033 100644
--- a/drivers/tee/qcomtee/async.c
+++ b/drivers/tee/qcomtee/async.c
@@ -97,10 +97,10 @@ static void qcomtee_get_async_buffer(struct qcomtee_object_invoke_ctx *oic,
/**
* async_release() - Process QTEE async release requests.
* @oic: context used for the current invocation.
- * @msg: async message for object release.
+ * @async_msg: async message for object release.
* @size: size of the async buffer available.
*
- * Return: Size of the outbound buffer used when processing @msg.
+ * Return: Size of the outbound buffer used when processing @async_msg.
*/
static size_t async_release(struct qcomtee_object_invoke_ctx *oic,
struct qcomtee_async_msg_hdr *async_msg,
diff --git a/drivers/tee/qcomtee/qcomtee_msg.h b/drivers/tee/qcomtee/qcomtee_msg.h
index 878f70178a5b6..5d7b21fdd3688 100644
--- a/drivers/tee/qcomtee/qcomtee_msg.h
+++ b/drivers/tee/qcomtee/qcomtee_msg.h
@@ -112,7 +112,7 @@ union qcomtee_msg_arg {
/**
* struct qcomtee_msg_object_invoke - Direct object invocation message.
- * @ctx: object ID hosted in QTEE.
+ * @cxt: object ID hosted in QTEE.
* @op: operation for the object.
* @counts: number of different types of arguments in @args.
* @args: array of arguments.
diff --git a/drivers/tee/qcomtee/qcomtee_object.h b/drivers/tee/qcomtee/qcomtee_object.h
index 8b4401ecad48c..d5de02dcef3b9 100644
--- a/drivers/tee/qcomtee/qcomtee_object.h
+++ b/drivers/tee/qcomtee/qcomtee_object.h
@@ -74,6 +74,7 @@ enum qcomtee_object_type {
* @QCOMTEE_ARG_TYPE_OO: output object (OO).
* @QCOMTEE_ARG_TYPE_IB: input buffer (IB).
* @QCOMTEE_ARG_TYPE_IO: input object (IO).
+ * @QCOMTEE_ARG_TYPE_NR: number of argument types.
*
* Use the invalid type to specify the end of the argument array.
*/
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tee: qcomtee: fix kernel-doc warnings
2026-08-02 0:39 [PATCH] tee: qcomtee: fix kernel-doc warnings Babanpreet Singh
@ 2026-08-04 3:49 ` Amirreza Zarrabi
[not found] ` <CAO8wpHw-J_A8bDL1MPnhXtVKSR1O4HCXbox1-eq2of5GU2wYKg@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Amirreza Zarrabi @ 2026-08-04 3:49 UTC (permalink / raw)
To: Babanpreet Singh, Jens Wiklander
Cc: Sumit Garg, linux-arm-msm, op-tee, linux-kernel
Hi Babanpreet,
Thanks.
Reviewed-by: Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com>
Amir
On 8/2/2026 10:39 AM, Babanpreet Singh wrote:
> Fix kernel-doc issues present since the driver was added in commit
> d6e290837e50 ("tee: add Qualcomm TEE driver"):
>
> - async_release() documents its second parameter as @msg, but the
> parameter is named async_msg (msg is a local variable);
> - struct qcomtee_msg_object_invoke documents member @ctx, but the
> member is named cxt;
> - enum qcomtee_arg_type leaves QCOMTEE_ARG_TYPE_NR undescribed.
>
> The cxt spelling is part of the QTEE message format and is used
> throughout the driver; struct qcomtee_msg_callback in the same header
> already documents it as @cxt, so the comment is corrected rather than
> the member.
>
> No functional changes.
>
> Assisted-by: Claude:claude-opus-5 [kernel-doc]
> Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
> ---
> drivers/tee/qcomtee/async.c | 4 ++--
> drivers/tee/qcomtee/qcomtee_msg.h | 2 +-
> drivers/tee/qcomtee/qcomtee_object.h | 1 +
> 3 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/tee/qcomtee/async.c b/drivers/tee/qcomtee/async.c
> index 31bff4309e672..5849e51612033 100644
> --- a/drivers/tee/qcomtee/async.c
> +++ b/drivers/tee/qcomtee/async.c
> @@ -97,10 +97,10 @@ static void qcomtee_get_async_buffer(struct qcomtee_object_invoke_ctx *oic,
> /**
> * async_release() - Process QTEE async release requests.
> * @oic: context used for the current invocation.
> - * @msg: async message for object release.
> + * @async_msg: async message for object release.
> * @size: size of the async buffer available.
> *
> - * Return: Size of the outbound buffer used when processing @msg.
> + * Return: Size of the outbound buffer used when processing @async_msg.
> */
> static size_t async_release(struct qcomtee_object_invoke_ctx *oic,
> struct qcomtee_async_msg_hdr *async_msg,
> diff --git a/drivers/tee/qcomtee/qcomtee_msg.h b/drivers/tee/qcomtee/qcomtee_msg.h
> index 878f70178a5b6..5d7b21fdd3688 100644
> --- a/drivers/tee/qcomtee/qcomtee_msg.h
> +++ b/drivers/tee/qcomtee/qcomtee_msg.h
> @@ -112,7 +112,7 @@ union qcomtee_msg_arg {
>
> /**
> * struct qcomtee_msg_object_invoke - Direct object invocation message.
> - * @ctx: object ID hosted in QTEE.
> + * @cxt: object ID hosted in QTEE.
> * @op: operation for the object.
> * @counts: number of different types of arguments in @args.
> * @args: array of arguments.
> diff --git a/drivers/tee/qcomtee/qcomtee_object.h b/drivers/tee/qcomtee/qcomtee_object.h
> index 8b4401ecad48c..d5de02dcef3b9 100644
> --- a/drivers/tee/qcomtee/qcomtee_object.h
> +++ b/drivers/tee/qcomtee/qcomtee_object.h
> @@ -74,6 +74,7 @@ enum qcomtee_object_type {
> * @QCOMTEE_ARG_TYPE_OO: output object (OO).
> * @QCOMTEE_ARG_TYPE_IB: input buffer (IB).
> * @QCOMTEE_ARG_TYPE_IO: input object (IO).
> + * @QCOMTEE_ARG_TYPE_NR: number of argument types.
> *
> * Use the invalid type to specify the end of the argument array.
> */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH] tee: qcomtee: fix kernel-doc warnings
[not found] ` <CAO8wpHw-J_A8bDL1MPnhXtVKSR1O4HCXbox1-eq2of5GU2wYKg@mail.gmail.com>
@ 2026-08-20 7:53 ` Jens Wiklander
0 siblings, 0 replies; 3+ messages in thread
From: Jens Wiklander @ 2026-08-20 7:53 UTC (permalink / raw)
To: Babanpreet Singh
Cc: amirreza.zarrabi, jenswi, sumit.garg, linux-arm-msm, op-tee,
linux-kernel
Hi Babanpreet,
Thanks for the ping.
On Tue, Aug 18, 2026 at 5:38 AM Babanpreet Singh
<bbnpreetsingh@gmail.com> wrote:
>
> Hi Jens,
>
> Gentle ping. Amirreza reviewed this a couple of weeks back — is there
> anything you need from me before it can be picked up?
>
> Thanks,
> Babanpreet
>
> On Mon, Aug 03, 2026 08:49 PM, Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com> wrote:
>>
>> Hi Babanpreet,
>>
>> Thanks.
>>
>> Reviewed-by: Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com>
>>
>> Amir
>>
>> On 8/2/2026 10:39 AM, Babanpreet Singh wrote:
>> > Fix kernel-doc issues present since the driver was added in commit
>> > d6e290837e50 ("tee: add Qualcomm TEE driver"):
>> >
>> > - async_release() documents its second parameter as @msg, but the
>> > parameter is named async_msg (msg is a local variable);
>> > - struct qcomtee_msg_object_invoke documents member @ctx, but the
>> > member is named cxt;
>> > - enum qcomtee_arg_type leaves QCOMTEE_ARG_TYPE_NR undescribed.
>> >
>> > The cxt spelling is part of the QTEE message format and is used
>> > throughout the driver; struct qcomtee_msg_callback in the same header
>> > already documents it as @cxt, so the comment is corrected rather than
>> > the member.
>> >
>> > No functional changes.
>> >
>> > Assisted-by: Claude:claude-opus-5 [kernel-doc]
>> > Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Since this is a fix, please add a proper fixes tag.
Thanks,
Jens
>> > ---
>> > drivers/tee/qcomtee/async.c | 4 ++--
>> > drivers/tee/qcomtee/qcomtee_msg.h | 2 +-
>> > drivers/tee/qcomtee/qcomtee_object.h | 1 +
>> > 3 files changed, 4 insertions(+), 3 deletions(-)
>> >
>> > diff --git a/drivers/tee/qcomtee/async.c b/drivers/tee/qcomtee/async.c
>> > index 31bff4309e672..5849e51612033 100644
>> > --- a/drivers/tee/qcomtee/async.c
>> > +++ b/drivers/tee/qcomtee/async.c
>> > @@ -97,10 +97,10 @@ static void qcomtee_get_async_buffer(struct qcomtee_object_invoke_ctx *oic,
>> > /**
>> > * async_release() - Process QTEE async release requests.
>> > * @oic: context used for the current invocation.
>> > - * @msg: async message for object release.
>> > + * @async_msg: async message for object release.
>> > * @size: size of the async buffer available.
>> > *
>> > - * Return: Size of the outbound buffer used when processing @msg.
>> > + * Return: Size of the outbound buffer used when processing @async_msg.
>> > */
>> > static size_t async_release(struct qcomtee_object_invoke_ctx *oic,
>> > struct qcomtee_async_msg_hdr *async_msg,
>> > diff --git a/drivers/tee/qcomtee/qcomtee_msg.h b/drivers/tee/qcomtee/qcomtee_msg.h
>> > index 878f70178a5b6..5d7b21fdd3688 100644
>> > --- a/drivers/tee/qcomtee/qcomtee_msg.h
>> > +++ b/drivers/tee/qcomtee/qcomtee_msg.h
>> > @@ -112,7 +112,7 @@ union qcomtee_msg_arg {
>> >
>> > /**
>> > * struct qcomtee_msg_object_invoke - Direct object invocation message.
>> > - * @ctx: object ID hosted in QTEE.
>> > + * @cxt: object ID hosted in QTEE.
>> > * @op: operation for the object.
>> > * @counts: number of different types of arguments in @args.
>> > * @args: array of arguments.
>> > diff --git a/drivers/tee/qcomtee/qcomtee_object.h b/drivers/tee/qcomtee/qcomtee_object.h
>> > index 8b4401ecad48c..d5de02dcef3b9 100644
>> > --- a/drivers/tee/qcomtee/qcomtee_object.h
>> > +++ b/drivers/tee/qcomtee/qcomtee_object.h
>> > @@ -74,6 +74,7 @@ enum qcomtee_object_type {
>> > * @QCOMTEE_ARG_TYPE_OO: output object (OO).
>> > * @QCOMTEE_ARG_TYPE_IB: input buffer (IB).
>> > * @QCOMTEE_ARG_TYPE_IO: input object (IO).
>> > + * @QCOMTEE_ARG_TYPE_NR: number of argument types.
>> > *
>> > * Use the invalid type to specify the end of the argument array.
>> > */
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-20 7:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 0:39 [PATCH] tee: qcomtee: fix kernel-doc warnings Babanpreet Singh
2026-08-04 3:49 ` Amirreza Zarrabi
[not found] ` <CAO8wpHw-J_A8bDL1MPnhXtVKSR1O4HCXbox1-eq2of5GU2wYKg@mail.gmail.com>
2026-08-20 7:53 ` Jens Wiklander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®