* [PATCH] i3c: Fix i3c_device_do_priv_xfers() return value list
@ 2025-06-26 4:22 Bagas Sanjaya
2025-06-26 16:56 ` Frank Li
0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-26 4:22 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux i3c
Cc: Alexandre Belloni, Frank Li, Miquel Raynal, Bagas Sanjaya
Sphinx reports indentation warning on i3c_device_do_priv_xfers() return
value list:
Documentation/driver-api/i3c/device-driver-api:9: ./drivers/i3c/device.c:31: ERROR: Unexpected indentation. [docutils]
Format the list as bullet list to fix the warning.
Fixes: 0d2596508201 ("i3c: Add comment for -EAGAIN in i3c_device_do_priv_xfers()")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
drivers/i3c/device.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/i3c/device.c b/drivers/i3c/device.c
index e80e4875691467..205fa5066387c8 100644
--- a/drivers/i3c/device.c
+++ b/drivers/i3c/device.c
@@ -26,11 +26,11 @@
*
* This function can sleep and thus cannot be called in atomic context.
*
- * Return: 0 in case of success, a negative error core otherwise.
- * -EAGAIN: controller lost address arbitration. Target
- * (IBI, HJ or controller role request) win the bus. Client
- * driver needs to resend the 'xfers' some time later.
- * See I3C spec ver 1.1.1 09-Jun-2021. Section: 5.1.2.2.3.
+ * Return: * 0 in case of success, a negative error core otherwise.
+ * * -EAGAIN: controller lost address arbitration. Target
+ * (IBI, HJ or controller role request) win the bus. Client
+ * driver needs to resend the 'xfers' some time later.
+ * See I3C spec ver 1.1.1 09-Jun-2021. Section: 5.1.2.2.3.
*/
int i3c_device_do_priv_xfers(struct i3c_device *dev,
struct i3c_priv_xfer *xfers,
--
An old man doll... just what I always wanted! - Clara
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] i3c: Fix i3c_device_do_priv_xfers() return value list
2025-06-26 4:22 [PATCH] i3c: Fix i3c_device_do_priv_xfers() return value list Bagas Sanjaya
@ 2025-06-26 16:56 ` Frank Li
2025-06-26 23:06 ` Bagas Sanjaya
0 siblings, 1 reply; 3+ messages in thread
From: Frank Li @ 2025-06-26 16:56 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux i3c, Alexandre Belloni,
Miquel Raynal
On Thu, Jun 26, 2025 at 11:22:01AM +0700, Bagas Sanjaya wrote:
> Sphinx reports indentation warning on i3c_device_do_priv_xfers() return
> value list:
>
> Documentation/driver-api/i3c/device-driver-api:9: ./drivers/i3c/device.c:31: ERROR: Unexpected indentation. [docutils]
>
> Format the list as bullet list to fix the warning.
>
> Fixes: 0d2596508201 ("i3c: Add comment for -EAGAIN in i3c_device_do_priv_xfers()")
Needn't fixes tag here because it doesn't impact user.
subject:
i3c: fix kernel-doc indentation of i3c_device_do_priv_xfers()
Frank
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
> drivers/i3c/device.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/i3c/device.c b/drivers/i3c/device.c
> index e80e4875691467..205fa5066387c8 100644
> --- a/drivers/i3c/device.c
> +++ b/drivers/i3c/device.c
> @@ -26,11 +26,11 @@
> *
> * This function can sleep and thus cannot be called in atomic context.
> *
> - * Return: 0 in case of success, a negative error core otherwise.
> - * -EAGAIN: controller lost address arbitration. Target
> - * (IBI, HJ or controller role request) win the bus. Client
> - * driver needs to resend the 'xfers' some time later.
> - * See I3C spec ver 1.1.1 09-Jun-2021. Section: 5.1.2.2.3.
> + * Return: * 0 in case of success, a negative error core otherwise.
> + * * -EAGAIN: controller lost address arbitration. Target
> + * (IBI, HJ or controller role request) win the bus. Client
> + * driver needs to resend the 'xfers' some time later.
> + * See I3C spec ver 1.1.1 09-Jun-2021. Section: 5.1.2.2.3.
> */
> int i3c_device_do_priv_xfers(struct i3c_device *dev,
> struct i3c_priv_xfer *xfers,
> --
> An old man doll... just what I always wanted! - Clara
>
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] i3c: Fix i3c_device_do_priv_xfers() return value list
2025-06-26 16:56 ` Frank Li
@ 2025-06-26 23:06 ` Bagas Sanjaya
0 siblings, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-26 23:06 UTC (permalink / raw)
To: Frank Li
Cc: Linux Kernel Mailing List, Linux i3c, Alexandre Belloni,
Miquel Raynal
On 6/26/25 23:56, Frank Li wrote:
> On Thu, Jun 26, 2025 at 11:22:01AM +0700, Bagas Sanjaya wrote:
>> Sphinx reports indentation warning on i3c_device_do_priv_xfers() return
>> value list:
>>
>> Documentation/driver-api/i3c/device-driver-api:9: ./drivers/i3c/device.c:31: ERROR: Unexpected indentation. [docutils]
>>
>> Format the list as bullet list to fix the warning.
>>
>> Fixes: 0d2596508201 ("i3c: Add comment for -EAGAIN in i3c_device_do_priv_xfers()")
>
> Needn't fixes tag here because it doesn't impact user.
>
I found the warning on docs-next tree, though.
> subject:
> i3c: fix kernel-doc indentation of i3c_device_do_priv_xfers()
>
Ack for the subject suggestion.
Thanks.
--
An old man doll... just what I always wanted! - Clara
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-02 22:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 4:22 [PATCH] i3c: Fix i3c_device_do_priv_xfers() return value list Bagas Sanjaya
2025-06-26 16:56 ` Frank Li
2025-06-26 23:06 ` Bagas Sanjaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).