* [PATCH v3] docs: Fix kernel-doc error in CAN driver
@ 2025-07-22 3:53 Luis Felipe Hernandez
2025-07-22 4:06 ` Vincent Mailhol
2025-07-22 19:22 ` Randy Dunlap
0 siblings, 2 replies; 8+ messages in thread
From: Luis Felipe Hernandez @ 2025-07-22 3:53 UTC (permalink / raw)
To: Pavel Pisa, Marc Kleine-Budde
Cc: Randy Dunlap, Ondrej Ille, Vincent Mailhol, linux-can,
linux-kernel, Luis Felipe Hernandez
Fix kernel-doc formatting issue causing unexpected indentation error
in ctucanfd driver documentation build. Convert main return values
to bullet list format while preserving numbered sub-list in order to
correct indentation error and visual structure in rendered html.
Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
---
Changes since v2:
- Focus only on CAN driver (GPU and I3C already fixed by Bagas Sanjaya)
- Remove blank line that caused unwanted 'Description' output
- Keep numbered sub-list format as suggested by Randy Dunlap
- Move changelog after cutter as suggested by Vincent Mailhol
Link(v2): https://lore.kernel.org/all/20250720152401.70720-1-luis.hernandez093@gmail.com/
Link(v1): https://lore.kernel.org/all/20250703023511.82768-1-luis.hernandez093@gmail.com/
---
drivers/net/can/ctucanfd/ctucanfd_base.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/net/can/ctucanfd/ctucanfd_base.c b/drivers/net/can/ctucanfd/ctucanfd_base.c
index bf6398772960..8bd3f0fc385c 100644
--- a/drivers/net/can/ctucanfd/ctucanfd_base.c
+++ b/drivers/net/can/ctucanfd/ctucanfd_base.c
@@ -506,11 +506,12 @@ static bool ctucan_is_txt_buf_writable(struct ctucan_priv *priv, u8 buf)
* @buf: TXT Buffer index to which frame is inserted (0-based)
* @isfdf: True - CAN FD Frame, False - CAN 2.0 Frame
*
- * Return: True - Frame inserted successfully
- * False - Frame was not inserted due to one of:
- * 1. TXT Buffer is not writable (it is in wrong state)
- * 2. Invalid TXT buffer index
- * 3. Invalid frame length
+ * Return:
+ * * True - Frame inserted successfully
+ * * False - Frame was not inserted due to one of:
+ * 1. TXT Buffer is not writable (it is in wrong state)
+ * 2. Invalid TXT buffer index
+ * 3. Invalid frame length
*/
static bool ctucan_insert_frame(struct ctucan_priv *priv, const struct canfd_frame *cf, u8 buf,
bool isfdf)
--
2.43.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 3:53 [PATCH v3] docs: Fix kernel-doc error in CAN driver Luis Felipe Hernandez
@ 2025-07-22 4:06 ` Vincent Mailhol
2025-07-22 6:37 ` Pavel Pisa
2025-07-22 19:22 ` Randy Dunlap
1 sibling, 1 reply; 8+ messages in thread
From: Vincent Mailhol @ 2025-07-22 4:06 UTC (permalink / raw)
To: Luis Felipe Hernandez
Cc: Randy Dunlap, Ondrej Ille, linux-can, linux-kernel, Pavel Pisa,
Marc Kleine-Budde
On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
> Fix kernel-doc formatting issue causing unexpected indentation error
> in ctucanfd driver documentation build. Convert main return values
> to bullet list format while preserving numbered sub-list in order to
> correct indentation error and visual structure in rendered html.
>
> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Yours sincerely,
Vincent Mailhol
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 4:06 ` Vincent Mailhol
@ 2025-07-22 6:37 ` Pavel Pisa
2025-07-22 7:27 ` Vincent Mailhol
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Pisa @ 2025-07-22 6:37 UTC (permalink / raw)
To: Vincent Mailhol
Cc: Luis Felipe Hernandez, Randy Dunlap, Ondrej Ille, linux-can,
linux-kernel, Marc Kleine-Budde
On Tuesday 22 of July 2025 06:06:30 Vincent Mailhol wrote:
> On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
> > Fix kernel-doc formatting issue causing unexpected indentation error
> > in ctucanfd driver documentation build. Convert main return values
> > to bullet list format while preserving numbered sub-list in order to
> > correct indentation error and visual structure in rendered html.
> >
> > Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
>
> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Vincent Mailhol <pisa@fel.cvut.cz>
This version keeps readability in the plain source.
Best wishes,
Pavel
Pavel Pisa
phone: +420 603531357
e-mail: pisa@cmp.felk.cvut.cz
Department of Control Engineering FEE CVUT
Karlovo namesti 13, 121 35, Prague 2
university: http://control.fel.cvut.cz/
personal: http://cmp.felk.cvut.cz/~pisa
social: https://social.kernel.org/ppisa
projects: https://www.openhub.net/accounts/ppisa
CAN related:http://canbus.pages.fel.cvut.cz/
RISC-V education: https://comparch.edu.cvut.cz/
Open Technologies Research Education and Exchange Services
https://gitlab.fel.cvut.cz/otrees/org/-/wikis/home
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 6:37 ` Pavel Pisa
@ 2025-07-22 7:27 ` Vincent Mailhol
2025-07-22 7:57 ` Pavel Pisa
0 siblings, 1 reply; 8+ messages in thread
From: Vincent Mailhol @ 2025-07-22 7:27 UTC (permalink / raw)
To: Pavel Pisa
Cc: Luis Felipe Hernandez, Randy Dunlap, Ondrej Ille, linux-can,
linux-kernel, Marc Kleine-Budde
On 22/07/2025 at 15:37, Pavel Pisa wrote:
> On Tuesday 22 of July 2025 06:06:30 Vincent Mailhol wrote:
>> On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
>>> Fix kernel-doc formatting issue causing unexpected indentation error
>>> in ctucanfd driver documentation build. Convert main return values
>>> to bullet list format while preserving numbered sub-list in order to
>>> correct indentation error and visual structure in rendered html.
>>>
>>> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
>>
>> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
>
> Reviewed-by: Vincent Mailhol <pisa@fel.cvut.cz>
^^^^^^^^^^^^^^^
Are you trying to impersonate me?
Can you reply again with the proper Reviewed-by tag? ;)
Yours sincerely,
Vincent Mailhol
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 7:27 ` Vincent Mailhol
@ 2025-07-22 7:57 ` Pavel Pisa
2025-07-22 8:50 ` Vincent Mailhol
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Pisa @ 2025-07-22 7:57 UTC (permalink / raw)
To: Vincent Mailhol
Cc: Luis Felipe Hernandez, Randy Dunlap, Ondrej Ille, linux-can,
linux-kernel, Marc Kleine-Budde
On Tuesday 22 of July 2025 09:27:39 Vincent Mailhol wrote:
> On 22/07/2025 at 15:37, Pavel Pisa wrote:
> > On Tuesday 22 of July 2025 06:06:30 Vincent Mailhol wrote:
> >> On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
> >>> Fix kernel-doc formatting issue causing unexpected indentation error
> >>> in ctucanfd driver documentation build. Convert main return values
> >>> to bullet list format while preserving numbered sub-list in order to
> >>> correct indentation error and visual structure in rendered html.
> >>>
> >>> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
> >>
> >> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
> >
> > Reviewed-by: Vincent Mailhol <pisa@fel.cvut.cz>
>
> ^^^^^^^^^^^^^^^
> Are you trying to impersonate me?
>
> Can you reply again with the proper Reviewed-by tag? ;)
>
>
> Yours sincerely,
> Vincent Mailhol
Reviewed-by: Pavel Pisa <pisa@fel.cvut.cz>
Excuse, I have been in too much hurry.
Best wishes,
Pavel Pisa
phone: +420 603531357
e-mail: pisa@cmp.felk.cvut.cz
Department of Control Engineering FEE CVUT
Karlovo namesti 13, 121 35, Prague 2
university: http://control.fel.cvut.cz/
personal: http://cmp.felk.cvut.cz/~pisa
social: https://social.kernel.org/ppisa
projects: https://www.openhub.net/accounts/ppisa
CAN related:http://canbus.pages.fel.cvut.cz/
RISC-V education: https://comparch.edu.cvut.cz/
Open Technologies Research Education and Exchange Services
https://gitlab.fel.cvut.cz/otrees/org/-/wikis/home
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 7:57 ` Pavel Pisa
@ 2025-07-22 8:50 ` Vincent Mailhol
2025-07-22 10:41 ` Marc Kleine-Budde
0 siblings, 1 reply; 8+ messages in thread
From: Vincent Mailhol @ 2025-07-22 8:50 UTC (permalink / raw)
To: Pavel Pisa
Cc: Luis Felipe Hernandez, Randy Dunlap, Ondrej Ille, linux-can,
linux-kernel, Marc Kleine-Budde
On 22/07/2025 at 16:57, Pavel Pisa wrote:
> On Tuesday 22 of July 2025 09:27:39 Vincent Mailhol wrote:
>> On 22/07/2025 at 15:37, Pavel Pisa wrote:
>>> On Tuesday 22 of July 2025 06:06:30 Vincent Mailhol wrote:
>>>> On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
>>>>> Fix kernel-doc formatting issue causing unexpected indentation error
>>>>> in ctucanfd driver documentation build. Convert main return values
>>>>> to bullet list format while preserving numbered sub-list in order to
>>>>> correct indentation error and visual structure in rendered html.
>>>>>
>>>>> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
>>>>
>>>> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
>>>
>>> Reviewed-by: Vincent Mailhol <pisa@fel.cvut.cz>
>>
>> ^^^^^^^^^^^^^^^
>> Are you trying to impersonate me?
>>
>> Can you reply again with the proper Reviewed-by tag? ;)
>>
>>
>> Yours sincerely,
>> Vincent Mailhol
>
> Reviewed-by: Pavel Pisa <pisa@fel.cvut.cz>
>
> Excuse, I have been in too much hurry.
No problem :)
Marc, b4 will not be able to manage the review tags correctly. Can you please
fix it manually when picking up the patch?
Yours sincerely,
Vincent Mailhol
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 8:50 ` Vincent Mailhol
@ 2025-07-22 10:41 ` Marc Kleine-Budde
0 siblings, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2025-07-22 10:41 UTC (permalink / raw)
To: Vincent Mailhol
Cc: Pavel Pisa, Luis Felipe Hernandez, Randy Dunlap, Ondrej Ille,
linux-can, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]
On 22.07.2025 17:50:56, Vincent Mailhol wrote:
> On 22/07/2025 at 16:57, Pavel Pisa wrote:
> > On Tuesday 22 of July 2025 09:27:39 Vincent Mailhol wrote:
> >> On 22/07/2025 at 15:37, Pavel Pisa wrote:
> >>> On Tuesday 22 of July 2025 06:06:30 Vincent Mailhol wrote:
> >>>> On 22/07/2025 at 12:53, Luis Felipe Hernandez wrote:
> >>>>> Fix kernel-doc formatting issue causing unexpected indentation error
> >>>>> in ctucanfd driver documentation build. Convert main return values
> >>>>> to bullet list format while preserving numbered sub-list in order to
> >>>>> correct indentation error and visual structure in rendered html.
> >>>>>
> >>>>> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
> >>>>
> >>>> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
> >>>
> >>> Reviewed-by: Vincent Mailhol <pisa@fel.cvut.cz>
> >>
> >> ^^^^^^^^^^^^^^^
> >> Are you trying to impersonate me?
> >>
> >> Can you reply again with the proper Reviewed-by tag? ;)
> >>
> >>
> >> Yours sincerely,
> >> Vincent Mailhol
> >
> > Reviewed-by: Pavel Pisa <pisa@fel.cvut.cz>
> >
> > Excuse, I have been in too much hurry.
>
> No problem :)
>
> Marc, b4 will not be able to manage the review tags correctly. Can you please
> fix it manually when picking up the patch?
Thanks, for the heads up.
I wrote to the tools mailing list and described the problem, maybe
someone comes up with a fix.
Applied to linux-can-next.
Grüße,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v3] docs: Fix kernel-doc error in CAN driver
2025-07-22 3:53 [PATCH v3] docs: Fix kernel-doc error in CAN driver Luis Felipe Hernandez
2025-07-22 4:06 ` Vincent Mailhol
@ 2025-07-22 19:22 ` Randy Dunlap
1 sibling, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2025-07-22 19:22 UTC (permalink / raw)
To: Luis Felipe Hernandez, Pavel Pisa, Marc Kleine-Budde
Cc: Ondrej Ille, Vincent Mailhol, linux-can, linux-kernel
On 7/21/25 8:53 PM, Luis Felipe Hernandez wrote:
> Fix kernel-doc formatting issue causing unexpected indentation error
> in ctucanfd driver documentation build. Convert main return values
> to bullet list format while preserving numbered sub-list in order to
> correct indentation error and visual structure in rendered html.
>
> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
>
> ---
> Changes since v2:
> - Focus only on CAN driver (GPU and I3C already fixed by Bagas Sanjaya)
> - Remove blank line that caused unwanted 'Description' output
> - Keep numbered sub-list format as suggested by Randy Dunlap
> - Move changelog after cutter as suggested by Vincent Mailhol
>
> Link(v2): https://lore.kernel.org/all/20250720152401.70720-1-luis.hernandez093@gmail.com/
> Link(v1): https://lore.kernel.org/all/20250703023511.82768-1-luis.hernandez093@gmail.com/
> ---
> drivers/net/can/ctucanfd/ctucanfd_base.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/net/can/ctucanfd/ctucanfd_base.c b/drivers/net/can/ctucanfd/ctucanfd_base.c
> index bf6398772960..8bd3f0fc385c 100644
> --- a/drivers/net/can/ctucanfd/ctucanfd_base.c
> +++ b/drivers/net/can/ctucanfd/ctucanfd_base.c
> @@ -506,11 +506,12 @@ static bool ctucan_is_txt_buf_writable(struct ctucan_priv *priv, u8 buf)
> * @buf: TXT Buffer index to which frame is inserted (0-based)
> * @isfdf: True - CAN FD Frame, False - CAN 2.0 Frame
> *
> - * Return: True - Frame inserted successfully
> - * False - Frame was not inserted due to one of:
> - * 1. TXT Buffer is not writable (it is in wrong state)
> - * 2. Invalid TXT buffer index
> - * 3. Invalid frame length
> + * Return:
> + * * True - Frame inserted successfully
> + * * False - Frame was not inserted due to one of:
> + * 1. TXT Buffer is not writable (it is in wrong state)
> + * 2. Invalid TXT buffer index
> + * 3. Invalid frame length
> */
> static bool ctucan_insert_frame(struct ctucan_priv *priv, const struct canfd_frame *cf, u8 buf,
> bool isfdf)
Looks good. Thanks for doing this.
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
--
~Randy
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-07-22 19:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-22 3:53 [PATCH v3] docs: Fix kernel-doc error in CAN driver Luis Felipe Hernandez
2025-07-22 4:06 ` Vincent Mailhol
2025-07-22 6:37 ` Pavel Pisa
2025-07-22 7:27 ` Vincent Mailhol
2025-07-22 7:57 ` Pavel Pisa
2025-07-22 8:50 ` Vincent Mailhol
2025-07-22 10:41 ` Marc Kleine-Budde
2025-07-22 19:22 ` Randy Dunlap
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®