[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h8scrgvio.wl-tiwai@suse.de>
Date: Wed, 30 Sep 2020 16:59:59 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Jonathan Corbet <corbet@....net>,
Arnd Bergmann <arnd@...db.de>,
Jaroslav Kysela <perex@...ex.cz>,
Julia Lawall <Julia.Lawall@...ia.fr>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 37/52] docs: sound: writing-an-alsa-driver.rst: get rid of :c:type
On Wed, 30 Sep 2020 15:25:00 +0200,
Mauro Carvalho Chehab wrote:
>
> the :c:type shouldn't be used with structs with Sphinx 3,
> as the C domain there uses .. c:struct for structs.
>
> As we have the automarkup extension, let's just get rid of
> all :c:type as a hole, as those will be automagically
whole?
> marked as such.
>
> This solves a bunch of warnings with Sphinx 3, like those:
>
> .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:490: WARNING: Unparseable C cross-reference: 'calling snd_card_free'
> Invalid C declaration: Expected end of definition. [error at 8]
> calling snd_card_free
> --------^
> .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3328: 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:3928: WARNING: Unparseable C cross-reference: 'copy_from/to_user'
> Invalid C declaration: Expected end of definition. [error at 9]
> copy_from/to_user
> ---------^
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Reviewed-by: Takashi Iwai <tiwai@...e.de>
thanks,
Takashi
Powered by blists - more mailing lists