Re: Fw: 2.6.8.1-mm1: oops with firmware loading

From: Maneesh Soni
Date: Tue Aug 17 2004 - 14:52:05 EST


On Tue, Aug 17, 2004 at 11:05:33AM -0700, Andrew Morton wrote:
>
>
> Begin forwarded message:
>
> Date: Tue, 17 Aug 2004 15:28:18 +0200
> From: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxxx>
> To: akpm@xxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> Cc: manuel.lauss@xxxxxxxxxxxxxxx
> Subject: 2.6.8.1-mm1: oops with firmware loading
>
>
> Hi,
>
> The new sysfs-backingstore patches cause an oops when I ifup a
> prism54 based device, heres the dmesg section:
>

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

Manuel, can you try this change in fs/sysfs/bin.c

--- bin.c.orig 2004-08-18 05:34:40.883964168 +0530
+++ bin.c 2004-08-18 05:36:40.316807616 +0530
@@ -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);
}


Andrew, How do I send the patch? I think hand editting will also work.

Thanks
Maneesh


--
Maneesh Soni
Linux Technology Center,
IBM Austin
email: maneesh@xxxxxxxxxx
Phone: 1-512-838-1896 Fax:
T/L : 6781896
-
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/