Skip to content

Commit f841224

Browse files
AmitVadhavana14gregkh
authored andcommitted
drivers: core: fw_devlink: Fix excess parameter description in docstring
Replace the parameter name 'con' with 'con_handle' in the docstring of __fw_devlink_relax_cycles() to resolve the kernel-doc warning about an excess parameter description. Address the following warning: ./drivers/base/core.c:1994: warning: Excess function parameter 'con' description in '__fw_devlink_relax_cycles' Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Amit Vadhavana <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f659e8f commit f841224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ static struct device *fwnode_get_next_parent_dev(const struct fwnode_handle *fwn
19711971

19721972
/**
19731973
* __fw_devlink_relax_cycles - Relax and mark dependency cycles.
1974-
* @con: Potential consumer device.
1974+
* @con_handle: Potential consumer device fwnode.
19751975
* @sup_handle: Potential supplier's fwnode.
19761976
*
19771977
* Needs to be called with fwnode_lock and device link lock held.

0 commit comments

Comments
 (0)