Skip to contentSkip to conversation

PM: Fix kernel-doc notation

PATCH Applied Jaswinder Singh Rajput 4 participants 9 messages Nov 22, 2009 – Dec 11, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PM: Fix kernel-doc notation

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>
---
 drivers/base/power/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/base/power/main.c +2 -2
index e8d1ea6..5f13084 100644
@@ -243,7 +243,7 @@ static void device_pm_wait_for_masters(struct device *slave)
 
 /**
  * device_pm_wait_for_slaves - Wait for all slaves of given device.
- * @slave: Device to wait for the slaves of.
+ * @master: Device to wait for the slaves of.
  */
 static void device_pm_wait_for_slaves(struct device *master)
 {
@@ -286,7 +286,7 @@ static int device_pm_check_masters(struct device *slave)
 
 /**
  * device_pm_check_slaves - Check power.op_complete for slaves of a device.
- * @slave: Device to check the slaves of.
+ * @master: Device to check the slaves of.
  */
 static int device_pm_check_slaves(struct device *master)
 {
Signature · 1 line
1.6.5.3
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Jaswinder Singh Rajput

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Acked-by on v1 1/1
#2 lore raw
In reply to Jaswinder Singh Rajput
Quoted 10 lines · Jaswinder Singh Rajput

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
In reply to Jaswinder Singh Rajput
Quoted 8 lines · Jaswinder Singh Rajput

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

Applied to suspend-2.6/linux-next.

Thanks,
Rafael

#4 lore raw
In reply to Jaswinder Singh Rajput
Quoted 8 lines · Jaswinder Singh Rajput

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

Applied to suspend-2.6/linux-next.

Thanks,
Rafael

#5 lore raw
In reply to Jaswinder Singh Rajput
Quoted 8 lines · On Sun, 22 Nov 2009 13:43:57 +0530 Jaswinder Singh Rajput wrote:

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

What tree was this for?
I guess it's not needed now, I can't find these functions..

Thanks.

Quoted 19 lines
---
 drivers/base/power/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/base/power/main.c +1 -1
index e8d1ea6..5f13084 100644
@@ -243,7 +243,7 @@ static void device_pm_wait_for_masters(struct device *slave)
 
 /**
  * device_pm_wait_for_slaves - Wait for all slaves of given device.
- * @slave: Device to wait for the slaves of.
+ * @master: Device to wait for the slaves of.
  */
 static void device_pm_wait_for_slaves(struct device *master)
 {

drivers/base/power/main.c static int device_pm_check_masters(struct device *slave) · line 292

Quoted 8 lines
drivers/base/power/main.c +1 -1
@@ -286,7 +286,7 @@ static int device_pm_check_masters(struct device *slave)
 
 /**
  * device_pm_check_slaves - Check power.op_complete for slaves of a device.
- * @slave: Device to check the slaves of.
+ * @master: Device to check the slaves of.
  */
 static int device_pm_check_slaves(struct device *master)
 {

---
~Randy

#6 lore raw
In reply to Jaswinder Singh Rajput
Quoted 8 lines · On Sun, 22 Nov 2009 13:43:57 +0530 Jaswinder Singh Rajput wrote:

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

What tree was this for?
I guess it's not needed now, I can't find these functions..

Thanks.

Quoted 19 lines
---
 drivers/base/power/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/base/power/main.c +1 -1
index e8d1ea6..5f13084 100644
@@ -243,7 +243,7 @@ static void device_pm_wait_for_masters(struct device *slave)
 
 /**
  * device_pm_wait_for_slaves - Wait for all slaves of given device.
- * @slave: Device to wait for the slaves of.
+ * @master: Device to wait for the slaves of.
  */
 static void device_pm_wait_for_slaves(struct device *master)
 {

drivers/base/power/main.c static int device_pm_check_masters(struct device *slave) · line 292

Quoted 8 lines
drivers/base/power/main.c +1 -1
@@ -286,7 +286,7 @@ static int device_pm_check_masters(struct device *slave)
 
 /**
  * device_pm_check_slaves - Check power.op_complete for slaves of a device.
- * @slave: Device to check the slaves of.
+ * @master: Device to check the slaves of.
  */
 static int device_pm_check_slaves(struct device *master)
 {

---
~Randy

#7 lore raw
Quoted 10 lines · Randy Dunlap
Quoted 8 lines · On Sun, 22 Nov 2009 13:43:57 +0530 Jaswinder Singh Rajput wrote:

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 7 lines
Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

What tree was this for?
I guess it's not needed now, I can't find these functions..

It was on top of the async suspend/resume patches that Linus has rejected.

Rafael

#8 lore raw
In reply to Randy Dunlap
Quoted 10 lines · Randy Dunlap
Quoted 8 lines · On Sun, 22 Nov 2009 13:43:57 +0530 Jaswinder Singh Rajput wrote:

Fix the following htmldocs warnings:

Warning(drivers/base/power/main.c:249): No description found for parameter 'master' Warning(drivers/base/power/main.c:249): Excess function parameter 'slave' description in 'device_pm_wait_for_slaves' Warning(drivers/base/power/main.c:292): No description found for parameter 'master' Warning(drivers/base/power/main.c:292): Excess function parameter 'slave' description in 'device_pm_check_slaves'

Quoted 7 lines
Quoted 4 lines
Cc Rafael J. Wysocki <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Randy Dunlap <[email protected]>

What tree was this for?
I guess it's not needed now, I can't find these functions..

It was on top of the async suspend/resume patches that Linus has rejected.

Rafael