Re: [PATCH] Driver Core patches for 2.6.10-rc1

From: Greg KH
Date: Mon Nov 01 2004 - 21:23:25 EST


ChangeSet 1.2440, 2004/11/01 13:02:55-08:00, akpm@xxxxxxxx

[PATCH] fix oops with firmware loading

From: Maneesh Soni <maneesh@xxxxxxxxxx>

My fault, a bad typo in fs/sysfs/bin.c.

Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


fs/sysfs/bin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/fs/sysfs/bin.c b/fs/sysfs/bin.c
--- a/fs/sysfs/bin.c 2004-11-01 13:37:25 -08:00
+++ b/fs/sysfs/bin.c 2004-11-01 13:37:25 -08:00
@@ -60,8 +60,8 @@
static int
flush_write(struct dentry *dentry, char *buffer, loff_t offset, size_t count)
{
- struct bin_attribute *attr = to_bin_attr(dentry->d_parent);
- struct kobject *kobj = to_kobj(dentry);
+ struct bin_attribute *attr = to_bin_attr(dentry);
+ struct kobject *kobj = to_kobj(dentry->d_parent);

return attr->write(kobj, buffer, offset, count);
}

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