diff options
author | Pallipadi, Venkatesh <venkatesh.pallipadi@intel.com> | 2009-07-29 13:36:10 -0700 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2009-08-04 14:32:10 -0400 |
commit | 26d204afa18f7df177f21bdb3759e0098ca8f7d5 (patch) | |
tree | 5446fa9688d2df4608314ec6772a5d6da3e97438 /drivers/mtd/mtdbdi.c | |
parent | a33a052f19a21d727847391c8c1aff3fb221c472 (diff) |
[CPUFREQ] Fix NULL pointer dereference regression in conservative governor
Commit ee88415caf736b89500f16e0a545614541a45005
introduced this regression when it removed enable bit in cpu_dbs_info_s.
That added a possibility of dbs_cpufreq_notifier getting called for a
CPU that is not yet managed by conservative governor. That will happen
as the transition notifier is set as soon as one CPU switches to
conservative governor and other CPUs can get a NULL pointer dereference
without the enable bit check. Add the enable bit back again.
Reported-by: Lermytte Christophe <Christophe.Lermytte@thomson.net>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/mtd/mtdbdi.c')
0 files changed, 0 insertions, 0 deletions