Skip to contentSkip to conversation

sound: amdtp-stream: fix enum kernel-doc warnings

PATCH In review Randy Dunlap 3 participants 3 messages Oct 14, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: amdtp-stream: fix enum kernel-doc warnings

Fix spelling of CIP_NO_HEADER to prevent a kernel-doc warning.

Warning: amdtp-stream.h:57 Enum value 'CIP_NO_HEADER' not described in enum 'cip_flags'
Warning: amdtp-stream.h:57 Excess enum value '%CIP_NO_HEADERS' description in 'cip_flags'

Fixes 3b196c394dd9f ("ALSA: firewire-lib: add no-header packet processing")

---
Cc: Takashi Sakamoto <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Clemens Ladisch <[email protected]>
Cc: Jaroslav Kysela <[email protected]>

---
 sound/firewire/amdtp-stream.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/firewire/amdtp-stream.h +1 -1
@@ -32,7 +32,7 @@
  *	allows 5 times as large as IEC 61883-6 defines.
  * @CIP_HEADER_WITHOUT_EOH: Only for in-stream. CIP Header doesn't include
  *	valid EOH.
- * @CIP_NO_HEADERS: a lack of headers in packets
+ * @CIP_NO_HEADER: a lack of headers in packets
  * @CIP_UNALIGHED_DBC: Only for in-stream. The value of dbc is not alighed to
  *	the value of current SYT_INTERVAL; e.g. initial value is not zero.
  * @CIP_UNAWARE_SYT: For outgoing packet, the value in SYT field of CIP is 0xffff.
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Randy Dunlap

Fix spelling of CIP_NO_HEADER to prevent a kernel-doc warning.

Warning: amdtp-stream.h:57 Enum value 'CIP_NO_HEADER' not described in enum 'cip_flags'
Warning: amdtp-stream.h:57 Excess enum value '%CIP_NO_HEADERS' description in 'cip_flags'

Fixes 3b196c394dd9f ("ALSA: firewire-lib: add no-header packet processing")
Quoted 8 lines

---
Cc: Takashi Sakamoto <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Clemens Ladisch <[email protected]>
Cc: Jaroslav Kysela <[email protected]>

---
 sound/firewire/amdtp-stream.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks

Takashi Sakamoto

#2 lore raw
In reply to Randy Dunlap
Quoted 8 lines · Randy Dunlap

Fix spelling of CIP_NO_HEADER to prevent a kernel-doc warning.

Warning: amdtp-stream.h:57 Enum value 'CIP_NO_HEADER' not described in enum 'cip_flags'
Warning: amdtp-stream.h:57 Excess enum value '%CIP_NO_HEADERS' description in 'cip_flags'

Fixes 3b196c394dd9f ("ALSA: firewire-lib: add no-header packet processing")

Applied now (with the correction of subject prefix).

thanks,

Takashi