Skip to contentSkip to conversation

TRIVIAL: fix grammo in bus_for_each_dev() kerneldoc

PATCH Applied Alex Chiang 3 participants 3 messages May 14, 2009 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TRIVIAL: fix grammo in bus_for_each_dev() kerneldoc

---

 drivers/base/bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/bus.c +1 -1
index dc030f1..4476a4e 100644
@@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
  *
  * NOTE: The device that returns a non-zero value is not retained
  * in any way, nor is its refcount incremented. If the caller needs
- * to retain this data, it should do, and increment the reference
+ * to retain this data, it should do so, and increment the reference
  * count in the supplied callback.
  */
 int bus_for_each_dev(struct bus_type *bus, struct device *start,
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Alex Chiang
Cc Randy Dunlap <[email protected]>

Thanks.

Quoted 20 lines

---

 drivers/base/bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/base/bus.c +1 -1
index dc030f1..4476a4e 100644
@@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
  *
  * NOTE: The device that returns a non-zero value is not retained
  * in any way, nor is its refcount incremented. If the caller needs
- * to retain this data, it should do, and increment the reference
+ * to retain this data, it should do so, and increment the reference
  * count in the supplied callback.
  */
 int bus_for_each_dev(struct bus_type *bus, struct device *start,
Signature · 3 lines
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
Applied
#2 lore raw
Quoted 13 lines · Randy Dunlap
Quoted 1 line · Alex Chiang
Cc Randy Dunlap <[email protected]>

Thanks.

Quoted 6 lines

---

 drivers/base/bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 13 lines

drivers/base/bus.c static struct device *next_device(struct klist_iter *i) · line 285

Quoted 13 lines
drivers/base/bus.c +1 -1
index dc030f1..4476a4e 100644
@@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
  *
  * NOTE: The device that returns a non-zero value is not retained
  * in any way, nor is its refcount incremented. If the caller needs
- * to retain this data, it should do, and increment the reference
+ * to retain this data, it should do so, and increment the reference
  * count in the supplied callback.
  */
 int bus_for_each_dev(struct bus_type *bus, struct device *start,

Applied, thanks!

Signature · 2 lines
Jiri Kosina
SUSE Labs