summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-01-27 12:25:44 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-01-28 10:33:18 +0100
commit4366979fdd437d90b5efc44b368869b1c9493863 (patch)
treed8e45fc7a7642875e06d7ee03d57b422add12e07 /drivers
parentthunderbolt: dma_port: Check 'dma_port_flash_write_block()'s return value (diff)
downloadlinux-4366979fdd437d90b5efc44b368869b1c9493863.tar.xz
linux-4366979fdd437d90b5efc44b368869b1c9493863.zip
thunderbolt: cap: Fix kernel-doc formatting issue
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/thunderbolt/cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/cap.c b/drivers/thunderbolt/cap.c
index 6f571e912cf2..8ecd610c62d5 100644
--- a/drivers/thunderbolt/cap.c
+++ b/drivers/thunderbolt/cap.c
@@ -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