[PATCH 1/3] Driver Core: restore comment in kobject_uevent.c

From: Greg KH (greg_at_kroah.com)
Date: 12/03/04

  • Next message: Nigel Cunningham: "Re: Suspend 2 merge: 50/51: Device mapper support."
    Date:	Fri, 3 Dec 2004 12:00:04 -0800
    To: torvalds@osdl.org, akpm@osdl.org
    
    

    Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

    --- 1.6/drivers/base/class_simple.c 2004-06-10 08:34:24 +02:00
    +++ edited/drivers/base/class_simple.c 2004-11-26 20:11:21 +01:00
    @@ -122,7 +122,7 @@ EXPORT_SYMBOL(class_simple_destroy);
      * be created, showing the dev_t for the device. The pointer to the struct
      * class_device will be returned from the call. Any further sysfs files that
      * might be required can be created using this pointer.
    - * Note: the struct class_device passed to this function must have previously been
    + * Note: the struct class_simple passed to this function must have previously been
      * created with a call to class_simple_create().
      */
     struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...)
    ===== lib/kobject_uevent.c 1.16 vs edited =====
    --- 1.16/lib/kobject_uevent.c 2004-11-12 12:50:24 +01:00
    +++ edited/lib/kobject_uevent.c 2004-11-26 20:19:53 +01:00
    @@ -205,6 +205,8 @@ void kobject_hotplug(struct kobject *kob
             static struct kset_hotplug_ops null_hotplug_ops;
             struct kset_hotplug_ops *hotplug_ops = &null_hotplug_ops;
     
    + /* If this kobj does not belong to a kset,
    + try to find a parent that does. */
             if (!top_kobj->kset && top_kobj->parent) {
                     do {
                             top_kobj = top_kobj->parent;

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Nigel Cunningham: "Re: Suspend 2 merge: 50/51: Device mapper support."

    Relevant Pages

    • Re: Another spinoza challenge
      ... You should test against the int type's limits: ... typedef struct complex ... a pointer to an integer ... A macro is preferable because it is replaced by inline code, ...
      (comp.lang.c)
    • Re: how to store list of varying types
      ... represent that with those in the struct definitions? ... pointer null, and the second one the CString object. ... then have to finish constructing the packet by copying the two data objects ... start with an upper-case letter (so, I would use DataElement ...
      (microsoft.public.vc.mfc)
    • Re: N1298 - try/finally for C
      ... Do you mean that "struct throwInfo" should be optional? ... that exception handling would be supported only on implementations ... If the standard mandates an integer as throw argument, ... should be an integer wide enough to encode a pointer if necessary. ...
      (comp.std.c)
    • Re: Memory Structure Pointer Problems
      ... typedef struct sta { ... char* name; ... int num_cmpnds; ... A pointer to a struct cmp is almost ...
      (comp.lang.c)
    • Re: [RFC][PATCH 1/4] cgroup: support per cgroup subsys state ID (CSS ID)
      ... Patch for Per-CSS(Cgroup Subsys State) ID and private hierarchy code. ... This patch attaches unique ID to each css and provides following. ... returns pointer to struct cgroup_subysys_state of id. ... using a pointer introduces no such restriction. ...
      (Linux-Kernel)