Skip to contentSkip to conversation

fix driver-core kernel-doc

PATCH Applied Randy.Dunlap 2 participants 2 messages Jun 22, 2006 – Jun 24, 2006 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix driver-core kernel-doc

From: Randy Dunlap <[email protected]>

Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt'

---
 drivers/base/core.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/base/core.c +3 -3
@@ -550,9 +550,9 @@ static void device_create_release(struct
 
 /**
  * device_create - creates a device and registers it with sysfs
- * @cs: pointer to the struct class that this device should be registered to.
+ * @class: pointer to the struct class that this device should be registered to.
  * @parent: pointer to the parent struct device of this new device, if any.
- * @dev: the dev_t for the char device to be added.
+ * @devt: the dev_t for the char device to be added.
  * @fmt: string for the class device's name
  *
  * This function can be used by char device classes.  A struct
@@ -617,7 +617,7 @@ EXPORT_SYMBOL_GPL(device_create);
 /**
  * device_destroy - removes a device that was created with device_create()
  * @class: the pointer to the struct class that this device was registered * with.
- * @dev: the dev_t of the device that was previously registered.
+ * @devt: the dev_t of the device that was previously registered.
  *
  * This call unregisters and cleans up a class device that was created with a
  * call to class_device_create()

---

#1 lore raw

patch driver-core-fix-driver-core-kernel-doc.patch added to gregkh-2.6 tree

This is a note to let you know that I've just added the patch titled

Subject: Driver core: fix driver-core kernel-doc

to my gregkh-2.6 tree. Its filename is

driver-core-fix-driver-core-kernel-doc.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

Quoted 1 line

From [email protected] Thu Jun 22 15:22:30 2006

Date: Thu, 22 Jun 2006 15:14:07 -0700
From: "Randy.Dunlap" <[email protected]>
To: lkml <[email protected]>
Cc: gregkh <[email protected]>
Subject: Driver core: fix driver-core kernel-doc
Message-Id: <[email protected]>

From: Randy Dunlap <[email protected]>

Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt' Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt'

---
 drivers/base/core.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/base/core.c +3 -3
@@ -561,9 +561,9 @@ static void device_create_release(struct
 
 /**
  * device_create - creates a device and registers it with sysfs
- * @cs: pointer to the struct class that this device should be registered to.
+ * @class: pointer to the struct class that this device should be registered to.
  * @parent: pointer to the parent struct device of this new device, if any.
- * @dev: the dev_t for the char device to be added.
+ * @devt: the dev_t for the char device to be added.
  * @fmt: string for the class device's name
  *
  * This function can be used by char device classes.  A struct
@@ -623,7 +623,7 @@ EXPORT_SYMBOL_GPL(device_create);
 /**
  * device_destroy - removes a device that was created with device_create()
  * @class: the pointer to the struct class that this device was registered * with.
- * @dev: the dev_t of the device that was previously registered.
+ * @devt: the dev_t of the device that was previously registered.
  *
  * This call unregisters and cleans up a class device that was created with a
  * call to class_device_create()

Patches currently in gregkh-2.6 which might be from [email protected] are

driver/driver-core-fix-driver-core-kernel-doc.patch usb/usb-fix-usb-kernel-doc.patch