Cornelia Huck wrote:
On Wed, 18 Jul 2007 01:36:00 -0700,
Greg KH <greg@kroah.com> wrote:
Or it should be, hm, Cornelia, can you resend it, I seem to have dropped
it :(
Andrew just did :)
(For reference, here's the patch:)
From: akpm@linux-foundation.org
To: greg@kroah.com
Cc: akpm@linux-foundation.org, cornelia.huck@de.ibm.com
Subject: [patch 1/1] Driver core: check return code of sysfs_create_link()
Date: Wed, 18 Jul 2007 01:43:47 -0700
From: Cornelia Huck <cornelia.huck@de.ibm.com>
Check for return value of sysfs_create_link() in device_add() and
device_rename(). Add helper functions device_add_class_symlinks() and
device_remove_class_symlinks() to make the code easier to read.
[akpm@linux-foundation.org: fix unused var warnings]
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/base/core.c | 145 ++++++++++++++++++++++++++++++------------
1 file changed, 105 insertions(+), 40 deletions(-)
ACK
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]