Messages in this thread Patch in this message | | | Subject | Re: [PATCH] Driver Core patches for 2.6.10-rc1 | Date | Mon, 1 Nov 2004 13:57:55 -0800 | From | Greg KH <> |
| |
ChangeSet 1.2440, 2004/11/01 13:02:55-08:00, akpm@osdl.org
[PATCH] fix oops with firmware loading
From: Maneesh Soni <maneesh@in.ibm.com>
My fault, a bad typo in fs/sysfs/bin.c.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |