Yet more kenreldoc fixes
cover Yet more kenreldoc fixes
Hi,
these are a series of patches to fix kerneldoc errors / warnings. These aren't actaully compiled from DocBook directory, so they are harmless, but better to be fixed, of course.
[PATCH 1/4] ALSA: vx: Fix missing kenreldoc parameter descriptions [PATCH 2/4] ALSA: hda - Fix kerneldoc errors in patch_ca0132.c [PATCH 3/4] ALSA: mixart: Fix kerneldoc comments
[PATCH 4/4] ALSA: Fix invalid kerneldoc markers
Takashi
PATCH 1/4 ALSA: vx: Fix missing kenreldoc parameter descriptions
The file isn't processed, but it's not bad to fix beforehand.
--- sound/drivers/vx/vx_core.c | 10 ++++++++++ sound/pci/vx222/vx222_ops.c | 5 +++++ sound/pcmcia/vx/vxpocket.c | 1 + 3 files changed, 16 insertions(+)
sound/drivers/vx/vx_core.c +10 -0
@@ -416,6 +416,7 @@ int vx_send_rih(struct vx_core *chip, int cmd)/** * snd_vx_boot_xilinx - boot up the xilinx interface +* @chip: VX core instance * @boot: the boot record to load */ int snd_vx_load_boot_image (struct vx_core *chip,const struct firmware *boot)
@@ -538,6 +539,8 @@ EXPORT_SYMBOL(snd_vx_threaded_irq_handler);/** * snd_vx_irq_handler - interrupt handler +* @irq: irq number +* @dev: VX core instance */ irqreturn_t snd_vx_irq_handler (int irq,void *dev) {
@@ -649,6 +652,8 @@ static void vx_proc_init(struct vx_core *chip)/** * snd_vx_dsp_boot - load the DSP boot +* @chip: VX core instance +* @boot: firmware data */ int snd_vx_dsp_boot (struct vx_core *chip,const struct firmware *boot) {
@@ -669,6 +674,8 @@ EXPORT_SYMBOL(snd_vx_dsp_boot);/** * snd_vx_dsp_load - load the DSP image +* @chip: VX core instance +* @dsp: firmware data */ int snd_vx_dsp_load (struct vx_core *chip,const struct firmware *dsp) {
@@ -768,7 +775,10 @@ EXPORT_SYMBOL(snd_vx_resume);/** * snd_vx_create - constructor for struct vx_core +* @card: card instance * @hw: hardware specific record +* @ops: VX ops pointer +* @extra_size: extra byte size to allocate appending to chip * * this function allocates the instance and prepare for the hardware * initialization.
sound/pci/vx222/vx222_ops.c +5 -0
@@ -92,6 +92,7 @@ static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg)/** * snd_vx_inb - read a byte from the register +* @chip: VX core instance * @offset: register enum */ static unsigned char vx2_inb (struct vx_core *chip,int offset)
@@ -101,6 +102,7 @@ static unsigned char vx2_inb(struct vx_core *chip, int offset)/** * snd_vx_outb - write a byte on the register +* @chip: VX core instance * @offset: the register offset * @val: the value to write */
@@ -114,6 +116,7 @@ static void vx2_outb(struct vx_core *chip, int offset, unsigned char val)/** * snd_vx_inl - read a 32bit word from the register +* @chip: VX core instance * @offset: register enum */ static unsigned int vx2_inl (struct vx_core *chip,int offset)
@@ -123,6 +126,7 @@ static unsigned int vx2_inl(struct vx_core *chip, int offset)/** * snd_vx_outl - write a 32bit word on the register +* @chip: VX core instance * @offset: the register enum * @val: the value to write */
@@ -223,6 +227,7 @@ static int vx2_test_xilinx(struct vx_core *_chip)/** * vx_setup_pseudo_dma - set up the pseudo dma read/write mode. +* @chip: VX core instance * @do_write: 0 = read, 1 = set up for DMA write */ static void vx2_setup_pseudo_dma (struct vx_core *chip,int do_write)
sound/pcmcia/vx/vxpocket.c +1 -0
@@ -174,6 +174,7 @@ static int snd_vxpocket_new(struct snd_card *card, int ibl,/** * snd_vxpocket_assign_resources - initialize the hardware and card instance. +* @chip: VX core instance * @port: i/o port for the card * @irq: irq number for the card *
Signature · 1 line
2.1.3
PATCH 2/4 ALSA: hda - Fix kerneldoc errors in patch_ca0132.c
In reply to Takashi Iwai--- sound/pci/hda/patch_ca0132.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
sound/pci/hda/patch_ca0132.c +6 -5
@@ -2417,7 +2417,7 @@ static int dspxfr_one_seg(struct hda_codec *codec,* @reloc: Relocation address for loading single-segment overlays, or 0 for * no relocation * @sample_rate: sampling rate of the stream used for DSP download -* @number_channels: channels of the stream used for DSP download +* @channels: channels of the stream used for DSP download * @ovly: TRUE if overlay format is required * * Returns zero or a negative error code.
@@ -2556,10 +2556,7 @@ static void dspload_post_setup(struct hda_codec *codec) }/** -* Download DSP from a DSP Image Fast Load structure. This structure is a -* linear, non-constant sized element array of structures, each of which -* contain the count of the data to be loaded, the data itself, and the -* corresponding starting chip address of the starting data location. +* dspload_image - Download DSP from a DSP Image Fast Load structure. * * @codec: the HDA codec * @fls: pointer to a fast load image
@@ -2570,6 +2567,10 @@ static void dspload_post_setup(struct hda_codec *codec)* @router_chans: number of audio router channels to be allocated (0 means use * internal defaults; max is 32) * +* Download DSP from a DSP Image Fast Load structure. This structure is a +* linear, non-constant sized element array of structures, each of which +* contain the count of the data to be loaded, the data itself, and the +* corresponding starting chip address of the starting data location. * Returns zero or a negative error code. */ static int dspload_image(struct hda_codec *codec,
Signature · 1 line
2.1.3
PATCH 3/4 ALSA: mixart: Fix kerneldoc comments
In reply to Takashi Iwai--- sound/pci/mixart/mixart_hwdep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
sound/pci/mixart/mixart_hwdep.c +5 -4
@@ -37,10 +37,11 @@/** * wait for a value on a peudo register, exit with a timeout * -* @param mgr pointer to miXart manager structure -* @param offset unsigned pseudo_register base + offset of value -* @param value value -* @param timeout timeout in centisenconds +* @mgr: pointer to miXart manager structure +* @offset: unsigned pseudo_register base + offset of value +* @is_egal: wait for the equal value +* @value: value +* @timeout: timeout in centisenconds */ static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, u32 offset, int is_egal,
Signature · 1 line
2.1.3
Re: [PATCH 3/4] ALSA: mixart: Fix kerneldoc comments
Quoted 16 lines
Signed-off-by Takashi Iwai <[email protected]>--- sound/pci/mixart/mixart_hwdep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)sound/pci/mixart/mixart_hwdep.c +0
-2@@ -37,10 +37,11 @@/** * wait for a value on a peudo register, exit with a timeout * -* @param mgr pointer to miXart manager structure -* @param offset unsigned pseudo_register base + offset of value
sound/pci/mixart/mixart_hwdep.c line 47
Quoted 10 lines
sound/pci/mixart/mixart_hwdep.c +5
-2-* @param value value -* @param timeout timeout in centisenconds +* @mgr: pointer to miXart manager structure +* @offset: unsigned pseudo_register base + offset of value +* @is_egal: wait for the equal value +* @value: value +* @timeout: timeout in centisenconds */ static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, u32 offset, int is_egal,
centiseconds
looks like is_egal should be named is_equal?
Signature · 2 lines
Peter Meerwald +43-664-2444418 (mobile)
Re: [PATCH 3/4] ALSA: mixart: Fix kerneldoc comments
At Mon, 10 Nov 2014 18:00:28 +0100 (CET),
Quoted 30 lines · Peter Meerwald
Quoted 17 lines
Signed-off-by Takashi Iwai <[email protected]>--- sound/pci/mixart/mixart_hwdep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)sound/pci/mixart/mixart_hwdep.c +0
-2@@ -37,10 +37,11 @@/** * wait for a value on a peudo register, exit with a timeout * -* @param mgr pointer to miXart manager structure -* @param offset unsigned pseudo_register base + offset of value sound/pci/mixart/mixart_hwdep.c line 47
Quoted 10 lines
sound/pci/mixart/mixart_hwdep.c +5
-2-* @param value value -* @param timeout timeout in centisenconds +* @mgr: pointer to miXart manager structure +* @offset: unsigned pseudo_register base + offset of value +* @is_egal: wait for the equal value +* @value: value +* @timeout: timeout in centisenconds */ static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, u32 offset, int is_egal,centiseconds
Quoted 1 line
looks like
is_egalshould be namedis_equal?
Yes, but the important bit of this patch series is touching only comments. This guarantees not to break anything.
(And honestly speaking, I don't care. It can be even a good chance
for readers to learn French or German :)
Takashi
PATCH 4/4 ALSA: Fix invalid kerneldoc markers
In reply to Takashi IwaiThey are no real kerneldoc comments, so drop such markers.
--- include/uapi/sound/hdspm.h | 12 +++++------ sound/pci/emu10k1/emu10k1x.c | 2 +- sound/pci/lx6464es/lx_defs.h | 2 +- sound/pci/rme9652/hdspm.c | 48 ++++++++++++++++++++++---------------------- 4 files changed, 32 insertions(+), 32 deletions(-)
include/uapi/sound/hdspm.h +6 -6
@@ -74,14 +74,14 @@ struct hdspm_config {#define SNDRV_HDSPM_IOCTL_GET_CONFIG \ _IOR('H', 0x41, struct hdspm_config) -/** +/* * If there's a TCO (TimeCode Option) board installed, * there are further options and status data available. * The hdspm_ltc structure contains the current SMPTE * timecode and some status information and can be * obtained via SNDRV_HDSPM_IOCTL_GET_LTC or in the * hdspm_status struct. -**/ +*/ enum hdspm_ltc_format { format_invalid,
@@ -113,11 +113,11 @@ struct hdspm_ltc {#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_ltc) -/** +/* * The status data reflects the device's current state * as determined by the card's configuration and * connection status. -**/ +*/ enum hdspm_sync { hdspm_sync_no_lock =0 ,
@@ -171,9 +171,9 @@ struct hdspm_status {#define SNDRV_HDSPM_IOCTL_GET_STATUS \ _IOR('H', 0x47, struct hdspm_status) -/** +/* * Get information about the card and its add-ons. -**/ +*/ #define HDSPM_ADDON_TCO 1
sound/pci/emu10k1/emu10k1x.c +1 -1
@@ -180,7 +180,7 @@ MODULE_PARM_DESC(enable, "Enable the EMU10K1X soundcard.");/* From 0x50 - 0x5f, last samples captured */ -/** +/* * The hardware has 3 channels for playback and 1 for capture. * - channel 0 is the front channel * - channel 1 is the rear channel
sound/pci/lx6464es/lx_defs.h +1 -1
@@ -175,7 +175,7 @@ enum buffer_flags { BF_ZERO = 0x00, /* no flags (init).*/ }; -/** +/* * Stream Flags definitions */ enum stream_flags {
sound/pci/rme9652/hdspm.c +24 -24
145 lines not on this page · raw message
Signature · 1 line
2.1.3
Quoted 5 lines
these are a series of patches to fix kerneldoc errors / warnings. These aren't actaully compiled from DocBook directory, so they are harmless, but better to be fixed, of course.
[PATCH 1/4] ALSA: vx: Fix missing kenreldoc parameter descriptions
kerneldoc
Quoted 3 lines
[PATCH 2/4] ALSA: hda - Fix kerneldoc errors in
patch_ca0132.c[PATCH 3/4] ALSA: mixart: Fix kerneldoc comments [PATCH 4/4] ALSA: Fix invalid kerneldoc markers
Signature · 2 lines
Peter Meerwald +43-664-2444418 (mobile)
At Mon, 10 Nov 2014 18:01:07 +0100 (CET),
Quoted 8 lines · Peter Meerwald
Quoted 6 lines
these are a series of patches to fix kerneldoc errors / warnings. These aren't actaully compiled from DocBook directory, so they are harmless, but better to be fixed, of course.
[PATCH 1/4] ALSA: vx: Fix missing kenreldoc parameter descriptions
kerneldoc
Thanks, fix taken.
Takashi