Skip to contentSkip to conversation

kernel bug (null pointer) in 2.6.27-rc1

DISCUSSION [email protected] 1 participant 1 message Jul 30, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Ryan Hope
Quoted 1 line

This patch fixes this issue, it fixed it for me:

Thanks, although that ...

Quoted 1 line

-static SYSDEV_ATTR(sched_smt_power_savings, 0644,

sched_smt_power_savings_show,

Quoted 10 lines

Review

Quoted 4 lines
(quoted diff) +2 -1
-		   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