Re: kernel bug (null pointer) in 2.6.27-rc1

From: c4p7n1
Date: Wed Jul 30 2008 - 12:39:52 EST


> On Di, 29 Jul 2008, Ryan Hope wrote:
> > This patch fixes this issue, it fixed it for me:
>
> Thanks, although that ...
>
> > -static SYSDEV_ATTR(sched_smt_power_savings, 0644,
> sched_smt_power_savings_show,
> > - sched_smt_power_savings_store);
> > +static SYSDEV_CLASS_ATTR(sched_smt_power_savings, 0644,
> > + sched_smt_power_savings_show,
> > #endif
>
> Seems to be bogus and produced a
> kernel/sched.c:9137:1: error: unterminated argument list
> invoking macro "SYSDEV_CLASS_ATTR"
> Hopefully not in the kernel ...
>
Reverting "sysdev: Pass the attribute to the low level sysdev show/store function"
4a0b2b4dbe1335b8b9886ba3dc85a145d5d938ed
helps here.

Martin Capitanio
--
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/