On Thu, Jul 11, 2013 at 3:48 AM, Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx> wrote: I haven't followed the minute details of this patch and will do that once you post it after testing it a bit. BTW, I found a funny bug in there :) > kfree(data); > + > + if (remove_sysfs) { > + lock_policy_rwsem_read(cpu); > + kobj = &data->kobj; > + cmp = &data->kobj_unregister; > + unlock_policy_rwsem_read(cpu); > + kobject_put(kobj); You just freed data and still want to use it later :) -- To unsubscribe from this list: send the line "unsubscribe cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html