Skip to content

Commit f84551e

Browse files
committed
ALSA: compress: Fix kernel-doc warnings
Some fields in struct snd_compr have no corresponding comments, and the kernel-doc complains like: ./include/sound/compress_driver.h:162: warning: No description found for parameter 'id[64]' ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_root' ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_info_entry' Actually all these are internal elements, just put "private:" comment so that they will be ignored. Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 1936f00 commit f84551e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/sound/compress_driver.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ struct snd_compr {
155155
struct mutex lock;
156156
int device;
157157
#ifdef CONFIG_SND_VERBOSE_PROCFS
158+
/* private: */
158159
char id[64];
159160
struct snd_info_entry *proc_root;
160161
struct snd_info_entry *proc_info_entry;

0 commit comments

Comments
 (0)