Skip to contentSkip to conversation

ALSA: hda - remove kerneldoc for internal hdac_i915 function

PATCH Applied Kai Vehmanen 2 participants 2 messages Sep 24, 2020 Sound

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ALSA: hda - remove kerneldoc for internal hdac_i915 function

Drop the kerneldoc markup for connectivity_check() as it's an static helper function. Fixes the following make W=1 warning:

sound/hda/hdac_i915.c:80: warning: Function parameter or member 'i915' not described in 'connectivity_check' sound/hda/hdac_i915.c:80: warning: Function parameter or member 'hdac' not described in 'connectivity_check'

Fixes 7b882fe3e3e8 ('ALSA: hda - handle multiple i915 device instances')
---
 sound/hda/hdac_i915.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
sound/hda/hdac_i915.c +1 -3
index d236e497435d..5f0a1aa6ad84 100644
@@ -73,9 +73,7 @@ void snd_hdac_i915_set_bclk(struct hdac_bus *bus)
 }
 EXPORT_SYMBOL_GPL(snd_hdac_i915_set_bclk);
 
-/**
- * Returns true if the devices can be connected for audio.
- */
+/* returns true if the devices can be connected for audio */
 static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac)
 {
 	struct pci_bus *bus_a = i915->bus, *bus_b = hdac->bus;
Signature · 1 line
2.27.0
Applied
#1 lore raw
Quoted 9 lines · Kai Vehmanen

Drop the kerneldoc markup for connectivity_check() as it's an static helper function. Fixes the following make W=1 warning:

sound/hda/hdac_i915.c:80: warning: Function parameter or member 'i915' not described in 'connectivity_check' sound/hda/hdac_i915.c:80: warning: Function parameter or member 'hdac' not described in 'connectivity_check'

Fixes 7b882fe3e3e8 ('ALSA: hda - handle multiple i915 device instances')

Thanks, applied.

Takashi