summaryrefslogtreecommitdiffstats
path: root/sound/core/info.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-07-13 12:47:59 +0200
committerTakashi Iwai <tiwai@suse.de>2022-07-13 13:42:38 +0200
commit281dee6707a869e0f40cac81b6b65c703192aa9d (patch)
treea7b67be8f96781036ff3ac43c0b676ba4b3c67e0 /sound/core/info.c
parent6eba99d4ce2487f2050b8787029cabfcfb748ee4 (diff)
downloadlinux-281dee6707a869e0f40cac81b6b65c703192aa9d.tar.gz
linux-281dee6707a869e0f40cac81b6b65c703192aa9d.tar.bz2
linux-281dee6707a869e0f40cac81b6b65c703192aa9d.zip
ALSA: core: Fix missing return value comments for kernel docs
Each kernel doc comment expects the definition of the return value in a proper format. This patch adds or fixes the missing entries for the remaining ALSA core API functions. Link: https://lore.kernel.org/r/20220713104759.4365-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/info.c')
-rw-r--r--sound/core/info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index 782fba87cc04..b8058b341178 100644
--- a/sound/core/info.c
+++ b/sound/core/info.c
@@ -868,6 +868,8 @@ EXPORT_SYMBOL(snd_info_register);
*
* This proc file entry will be registered via snd_card_register() call, and
* it will be removed automatically at the card removal, too.
+ *
+ * Return: zero if successful, or a negative error code
*/
int snd_card_rw_proc_new(struct snd_card *card, const char *name,
void *private_data,