lkml.org 
[lkml]   [2020]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 39/52] docs: writing-an-alsa-driver.rst: fix some bad c:func: markups
On Wed, 30 Sep 2020 15:25:02 +0200,
Mauro Carvalho Chehab wrote:
>
> Some such markups are invalid, as reported by Sphinx:
>
> ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3317: WARNING: Unparseable C cross-reference: 'snd_rawmidi_transmit*'
> Invalid C declaration: Expected end of definition. [error at 20]
> snd_rawmidi_transmit*
> --------------------^
> ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3917: WARNING: Unparseable C cross-reference: 'copy_from/to_user'
> Invalid C declaration: Expected end of definition. [error at 9]
> copy_from/to_user
> ---------^
>
> The first case seems to be better replaced by a literal.
>
> For the second one, let's generate cross-references, by
> spliting it in two.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

Reviewed-by: Takashi Iwai <tiwai@suse.de>


thanks,

Takashi

\
 
 \ /
  Last update: 2020-09-30 16:59    [W:0.301 / U:17.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site