Re: parisc compile error

From: Kyle McMartin
Date: Thu Feb 14 2008 - 00:23:12 EST


On Wed, Feb 13, 2008 at 01:42:10PM +0100, rubisher wrote:
> - some lake of changes of kset to kobj:

thanks, i don't build this driver, somehow it made its way out of my
configs. patch looks correct though. applied.

> --- ./drivers/parisc/pdc_stable.c.Orig 2008-01-28 07:09:26.000000000 +0000
> +++ ./drivers/parisc/pdc_stable.c 2008-02-13 11:22:16.000000000 +0000
> @@ -829,7 +829,7 @@
> struct kobj_attribute *attr,
> const char *buf, size_t count)
> {
> - return pdcs_auto_write(kset, attr, buf, count, PF_AUTOBOOT);
> + return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOBOOT);
> }
>
> /**
> @@ -845,7 +845,7 @@
> struct kobj_attribute *attr,
> const char *buf, size_t count)
> {
> - return pdcs_auto_write(kset, attr, buf, count, PF_AUTOSEARCH);
> + return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOSEARCH);
> }
>
> /**
> @@ -1066,7 +1066,7 @@
> }
>
> /* Don't forget the root entries */
> - error = sysfs_create_group(stable_kobj, pdcs_attr_group);
> + error = sysfs_create_group(stable_kobj, &pdcs_attr_group);
>
> /* register the paths kset as a child of the stable kset */
> paths_kset = kset_create_and_add("paths", NULL, stable_kobj);
> === <> ===
>
> And the kernel build, but I don't yet try to boot it...
>
> Hth,
> r.
> ---
> Scarlet One, ADSL 6 Mbps + Telephone, from EUR 29,95...
> http://www.scarlet.be/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
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/