Re: [PATCH] acpi/processor: fix for !CONFIG_CPU_IDLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On 28.06.10 at 20:42, Len Brown <lenb@xxxxxxxxxx> wrote:
> On Thu, 24 Jun 2010, Jan Beulich wrote:
> 
>> The conditional modified (to have an 'else' portion) in commit
>> 2671717265ae6e720a9ba5f13fbec3a718983b65 degenerates to an
>> unconditional NULL dereference when CONFIG_CPU_IDLE is off, as
>> cpuidle_register_driver() returns non-zero in this case, and
>> cpu_idle_get_driver() returns NULL. The simplest solution is to make
>> the whole construct depend on CONFIG_CPU_IDLE bein defined.
>> 
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> 
> As CONFIG_ACPI selects CONFIG_CPU_IDLE,
> how were you able to provoke this issue?

Oh, indeed, I forgot that it's a specific of our kernels that the select
is a conditional one. Sorry for the noise then.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux