Skip to content

Commit 7199677

Browse files
rddunlapgregkh
authored andcommitted
driver-core: fix kernel-doc function parameters
Fix drivers/base/ missing kernel-doc parameters: Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'drv' Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'kobj' Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'fmt' Warning(linux-2.6.24-git12//drivers/base/power/main.c:530): No description found for parameter 'state' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 7ab4705 commit 7199677

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/base/driver.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ EXPORT_SYMBOL_GPL(driver_remove_file);
120120

121121
/**
122122
* driver_add_kobj - add a kobject below the specified driver
123+
* @drv: requesting device driver
124+
* @kobj: kobject to add below this driver
125+
* @fmt: format string that names the kobject
123126
*
124127
* You really don't want to do this, this is only here due to one looney
125128
* iseries driver, go poke those developers if you are annoyed about

‎drivers/base/power/main.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ static void lock_all_devices(void)
523523

524524
/**
525525
* device_suspend - Save state and stop all devices in system.
526+
* @state: new power management state
526527
*
527528
* Prevent new devices from being registered, then lock all devices
528529
* and suspend them.

0 commit comments

Comments
 (0)