public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	Ingo Molnar <mingo@elte.hu>, Arnd Hannemann <arnd@arndnet.de>,
	Michal Hocko <mhocko@suse.cz>,
	LKML <linux-kernel@vger.kernel.org>,
	Richard Purdie <rpurdie@linux.intel.com>
Subject: Re: 5ada28bf76752 causes compilation error if !CONFIG_LEDS_CLASS
Date: Mon, 29 Nov 2010 16:22:57 -0800	[thread overview]
Message-ID: <4CF443E1.606@oracle.com> (raw)
In-Reply-To: <20101129150323.a03a09bf.akpm@linux-foundation.org>

On 11/29/10 15:03, Andrew Morton wrote:
> On Tue, 23 Nov 2010 10:41:30 +0100
> Johannes Berg <johannes@sipsolutions.net> wrote:
> 
>> On Tue, 2010-11-23 at 09:17 +0000, Ingo Molnar wrote:
>>
>>> It fails to build on x86 64-bit allmodconfig:
>>
>> Let's not modify them to tristate then, too many ifdefs.
>>
>> johannes
>>
>>
>> Subject: leds: fix up dependencies
>> From: Johannes Berg <johannes.berg@intel.com>
>>
>> It's not useful to build LED triggers when
>> there's no LEDs that can be triggered by
>> them. Therefore, fix up the dependencies
>> so that this cannot happen, and fix a few
>> users that select triggers to depend on
>> LEDS_CLASS as well (there is also one user
>> that also selects LEDS_CLASS, which is OK).
> 
> Ingo, Randy: does this work for you?
> 

Yes, it passes all of my saved build failure cases.

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>


> 
> From: Johannes Berg <johannes.berg@intel.com>
> 
> It's not useful to build LED triggers when there's no LEDs that can be
> triggered by them.  Therefore, fix up the dependencies so that this cannot
> happen, and fix a few users that select triggers to depend on LEDS_CLASS
> as well (there is also one user that also selects LEDS_CLASS, which is
> OK).
> 
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Arnd Hannemann <arnd@arndnet.de>
> Cc: Michal Hocko <mhocko@suse.cz>
> Cc: Richard Purdie <rpurdie@linux.intel.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/leds/Kconfig      |   50 +++++++++++++++++++++++++++++-------
>  drivers/macintosh/Kconfig |    1 
>  net/mac80211/Kconfig      |    2 -
>  3 files changed, 43 insertions(+), 10 deletions(-)


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

  reply	other threads:[~2010-11-30  0:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 14:20 5ada28bf76752 causes compilation error if !CONFIG_LEDS_CLASS Michal Hocko
2010-11-16 17:41 ` Berg, Johannes
2010-11-18  8:24   ` Michal Hocko
2010-11-18 16:52     ` Berg, Johannes
2010-11-22 16:58       ` Arnd Hannemann
2010-11-23  6:32         ` Ingo Molnar
2010-11-23  7:32           ` Berg, Johannes
2010-11-23  7:36             ` Andrew Morton
2010-11-23  7:41               ` Berg, Johannes
2010-11-23  7:44                 ` Andrew Morton
2010-11-23  7:57                   ` Berg, Johannes
2010-11-23  8:02                     ` Ingo Molnar
2010-11-23  7:57                 ` Ingo Molnar
2010-11-23  8:02                   ` Andrew Morton
2010-11-23  8:09                     ` Berg, Johannes
2010-11-23  9:17                     ` Ingo Molnar
2010-11-23  9:35                       ` Berg, Johannes
2010-11-23  9:59                         ` Ingo Molnar
2010-11-23  9:41                       ` Johannes Berg
2010-11-29 23:03                         ` Andrew Morton
2010-11-30  0:22                           ` Randy Dunlap [this message]
2010-11-30 11:25                           ` Ingo Molnar
2010-11-23  7:44               ` Ingo Molnar
2010-11-23  7:42             ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF443E1.606@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndnet.de \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@suse.cz \
    --cc=mingo@elte.hu \
    --cc=rpurdie@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox