summaryrefslogtreecommitdiff
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-09-19 22:50:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-05 13:11:35 +0200
commitf1ac370cdda304d2fed44455ae685c7ee9539c0a (patch)
treee66e35d097cad54f16c248ead6bbfade4e3591f8 /drivers/base/core.c
parent7523d330aac7190f738998a52df8d5aa14293280 (diff)
downloadlwn-f1ac370cdda304d2fed44455ae685c7ee9539c0a.tar.gz
lwn-f1ac370cdda304d2fed44455ae685c7ee9539c0a.zip
driver core: Add missing parameter description to __fwnode_link_add()
The kernel documentation validator is not happy with: drivers/base/core.c:67: warning: Function parameter or member 'flags' not described in '__fwnode_link_add' Add missing parameter description. Fixes: 6a6dfdf8b3ff ("driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230919195048.3197551-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 4d8b315c48a1..67ba592afc77 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -49,6 +49,7 @@ static bool fw_devlink_best_effort;
* __fwnode_link_add - Create a link between two fwnode_handles.
* @con: Consumer end of the link.
* @sup: Supplier end of the link.
+ * @flags: Link flags.
*
* Create a fwnode link between fwnode handles @con and @sup. The fwnode link
* represents the detail that the firmware lists @sup fwnode as supplying a