From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Walker Subject: Re: [v10 PATCH 9/9]: POWER: Enable default_idle when power_save=off Date: Wed, 02 Dec 2009 09:41:38 -0800 Message-ID: <1259775698.25622.2.camel@c-dwalke-linux.qualcomm.com> References: <20091202095427.GA27251@linux.vnet.ibm.com> <20091202100346.GJ27251@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from fifo99.com ([67.223.236.141]:45591 "EHLO fifo99.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbZLBRll (ORCPT ); Wed, 2 Dec 2009 12:41:41 -0500 In-Reply-To: <20091202100346.GJ27251@linux.vnet.ibm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: arun@linux.vnet.ibm.com Cc: Peter Zijlstra , Benjamin Herrenschmidt , Ingo Molnar , Vaidyanathan Srinivasan , Dipankar Sarma , Balbir Singh , Venkatesh Pallipadi , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arch@vger.kernel.org, linux-acpi@vger.kernel.org On Wed, 2009-12-02 at 15:33 +0530, Arun R Bharadwaj wrote: > +int boot_option_idle_override = 0; > + Doesn't need to be set to zero AFAIK, since we do a mass initialization to zero during boot up. Did you notice some type of failure when you didn't initialize that to zero? (checkpatch output below..) -- ERROR: do not initialise externals to 0 or NULL #97: FILE: arch/powerpc/kernel/idle.c:43: +int boot_option_idle_override = 0; total: 1 errors, 0 warnings, 0 checks, 31 lines checked Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.