public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Chen Gang <gang.chen.5i5j@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [Suggestion] Makefile: about allmodconfig issue.
Date: Sat, 08 Mar 2014 07:04:24 -0800	[thread overview]
Message-ID: <531B3178.8000804@infradead.org> (raw)
In-Reply-To: <531B1603.6080106@gmail.com>

On 03/08/2014 05:07 AM, Chen Gang wrote:
> Hello All:
> 
> "A module selects GENERIC_IRQ_CHIP and depend on IRQ_DOMAIN". For me,
> it is a reasonable selection and dependency, but "make allmodconfig"
> will report error. I guess it is the "Makefile allmodconfig" issue.
> 
> The related error report:
> 
>   [root@gchen linux-next]# make ARCH=avr32 CROSS_COMPILE=/usr/local/bin/avr32-linux-  allmodconfig
>     HOSTCC  scripts/basic/fixdep
>     HOSTCC  scripts/kconfig/conf.o
>     SHIPPED scripts/kconfig/zconf.tab.c
>     SHIPPED scripts/kconfig/zconf.lex.c
>     SHIPPED scripts/kconfig/zconf.hash.c
>     HOSTCC  scripts/kconfig/zconf.tab.o
>     HOSTLD  scripts/kconfig/conf
>   scripts/kconfig/conf --allmodconfig Kconfig
>   kernel/time/Kconfig:162:warning: range is invalid
>   kernel/irq/Kconfig:41:error: recursive dependency detected!
>   kernel/irq/Kconfig:41:  symbol GENERIC_IRQ_CHIP is selected by GPIO_DWAPB
>   drivers/gpio/Kconfig:131:       symbol GPIO_DWAPB depends on IRQ_DOMAIN
>   kernel/irq/Kconfig:46:  symbol IRQ_DOMAIN is selected by GENERIC_IRQ_CHIP
>   
> 
> The related commit (7779b34 gpio: add a driver for the Synopsys DesignWare APB GPIO block):  
> 
>   +config GPIO_DWAPB
>   +       tristate "Synopsys DesignWare APB GPIO driver"
>   +       select GPIO_GENERIC
>   +       select GENERIC_IRQ_CHIP
>   +       depends on OF_GPIO && IRQ_DOMAIN
> 
> 
> 
> Welcome any suggestions, discussions and completions.
> 
> Thanks.
> 

A patch has already been submitted and applied by the subsystem maintainer.

http://marc.info/?l=linux-gpio&m=139413626320431&w=2


-- 
~Randy

  reply	other threads:[~2014-03-08 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-08 13:07 [Suggestion] Makefile: about allmodconfig issue Chen Gang
2014-03-08 15:04 ` Randy Dunlap [this message]
2014-03-08 21:44   ` Chen Gang
2014-03-08 21:58     ` Randy Dunlap
2014-03-09 15:02       ` Chen Gang
2014-03-09 16:24         ` Randy Dunlap
2014-03-11  1:08           ` Chen Gang
2014-03-15 21:30             ` Chen Gang
2014-03-15 21:36               ` Randy Dunlap
2014-03-16  3:27                 ` Chen Gang

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=531B3178.8000804@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=gang.chen.5i5j@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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