* [PATCH] sound: fix kernel-doc build warning
@ 2017-10-30 0:08 Randy Dunlap
2017-10-30 7:11 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2017-10-30 0:08 UTC (permalink / raw)
To: moderated for non-subscribers, Takashi Iwai, Jaroslav Kysela; +Cc: LKML
From: Randy Dunlap <rdunlap@infradead.org>
Fix kernel-doc build error. A symbol that ends with an underscore
character ('_') has special meaning in reST (reStructuredText), so add
a '*' to prevent this error and to indicate that there are several of
these values to choose from.
../sound/core/jack.c:312: ERROR: Unknown target name: "snd_jack_btn".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: alsa-devel@alsa-project.org
---
sound/core/jack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-414-rc7.orig/sound/core/jack.c
+++ lnx-414-rc7/sound/core/jack.c
@@ -310,7 +310,7 @@ EXPORT_SYMBOL(snd_jack_set_parent);
* @type: Jack report type for this key
* @keytype: Input layer key type to be reported
*
- * Map a SND_JACK_BTN_ button type to an input layer key, allowing
+ * Map a SND_JACK_BTN_* button type to an input layer key, allowing
* reporting of keys on accessories via the jack abstraction. If no
* mapping is provided but keys are enabled in the jack type then
* BTN_n numeric buttons will be reported.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sound: fix kernel-doc build warning
2017-10-30 0:08 [PATCH] sound: fix kernel-doc build warning Randy Dunlap
@ 2017-10-30 7:11 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2017-10-30 7:11 UTC (permalink / raw)
To: Randy Dunlap; +Cc: moderated for non-subscribers, Jaroslav Kysela, LKML
On Mon, 30 Oct 2017 01:08:52 +0100,
Randy Dunlap wrote:
>
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix kernel-doc build error. A symbol that ends with an underscore
> character ('_') has special meaning in reST (reStructuredText), so add
> a '*' to prevent this error and to indicate that there are several of
> these values to choose from.
>
> ../sound/core/jack.c:312: ERROR: Unknown target name: "snd_jack_btn".
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.com>
> Cc: alsa-devel@alsa-project.org
Thanks, applied.
I vaguely remember that we had this because the asterisk caused an
error with the old kerneldoc before ReST.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-30 7:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 0:08 [PATCH] sound: fix kernel-doc build warning Randy Dunlap
2017-10-30 7:11 ` Takashi Iwai
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®