thunderbolt: cap: Fix kernel-doc formatting issue
authorLee Jones <lee.jones@linaro.org>
Wed, 27 Jan 2021 11:25:44 +0000 (11:25 +0000)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 28 Jan 2021 09:33:18 +0000 (12:33 +0300)
Fixes the following W=1 kernel build warning(s):

 drivers/thunderbolt/cap.c:189: warning: Function parameter or member 'sw' not described in 'tb_switch_find_cap'

Cc: Andreas Noever <andreas.noever@gmail.com>
Cc: Michael Jamet <michael.jamet@intel.com>
Cc: Yehezkel Bernat <YehezkelShB@gmail.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/cap.c

index 6f571e912cf21c46fceec582c201e134e8f6d6d8..8ecd610c62d5022c5765a8dbe368c8dfa5844fba 100644 (file)
@@ -178,7 +178,7 @@ int tb_switch_next_cap(struct tb_switch *sw, unsigned int offset)
 
 /**
  * tb_switch_find_cap() - Find switch capability
- * @sw Switch to find the capability for
+ * @sw: Switch to find the capability for
  * @cap: Capability to look
  *
  * Returns offset to start of capability or %-ENOENT if no such