Skip to contentSkip to conversation

driver core patches against 2.6.26-rc5

PATCH New Greg KH 1 participant 3 messages Jun 12, 2008

Subsystems (2)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 driver core patches against 2.6.26-rc5

Here are two simple patches against your 2.6.26-git tree.

They both fix documentation errors, one in the kerneldoc portion of the driver core, another is a typo in the kobject.txt documentation.

Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/

The patches will be sent as a follow-on to this message to lkml for people to see.

thanks,

greg k-h

------------

 Documentation/kobject.txt |    2 +-
 drivers/base/core.c       |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

---------------

David Brigada (1):
kobject: Documentation Spelling Patch

Randy Dunlap (1):
dev_set_name: fix missing kernel-doc

#1 lore raw

PATCH 1/2 dev_set_name: fix missing kernel-doc

From: Randy Dunlap <[email protected]>

Fix kernel-doc for new dev_set_name() function:

Warning(lin2626-rc5//drivers/base/core.c:767): No description found for parameter 'fmt'

---
 drivers/base/core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/base/core.c +1 -0
index 422cfca..ee0a51a 100644
@@ -762,6 +762,7 @@ static void device_remove_class_symlinks(struct device *dev)
 /**
  * dev_set_name - set a device name
  * @dev: device
+ * @fmt: format string for the device's name
  */
 int dev_set_name(struct device *dev, const char *fmt, ...)
 {
Signature · 1 line
1.5.5.3
#2 lore raw

PATCH 2/2 kobject: Documentation Spelling Patch

In reply to Greg KH

From: David Brigada <[email protected]>

---
 Documentation/kobject.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/kobject.txt +1 -1
index bf3256e..51a8021 100644
@@ -305,7 +305,7 @@ should not be manipulated by any other user.
 
 A kset keeps its children in a standard kernel linked list.  Kobjects point
 back to their containing kset via their kset field. In almost all cases,
-the kobjects belonging to a ket have that kset (or, strictly, its embedded
+the kobjects belonging to a kset have that kset (or, strictly, its embedded
 kobject) in their parent.
 
 As a kset contains a kobject within it, it should always be dynamically
Signature · 1 line
1.5.5.3