All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Florian Fainelli <florian@openwrt.org>,
	Shane McDonald <mcdonald.shane@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] fix build failures on msp_irq_slp.c
Date: Wed, 29 Apr 2009 13:58:59 +0200	[thread overview]
Message-ID: <20090429115859.GA1487@linux-mips.org> (raw)
In-Reply-To: <200904271659.48357.florian@openwrt.org>

On Mon, Apr 27, 2009 at 04:59:48PM +0200, Florian Fainelli wrote:

> Trying to build MSP4200 VoIP defconfig also fails on msp_irq_slp.c
> with a non-existing reference to mask_slp_irq, which is in turn
> mask_msp_slp_irq. Passed that, we will also miss a comma when
> calling set_irq_chip_and_handler. This patch fixes both issues.
> 
> Signed-off-by: Florian Fainelli <florian@openwrt.org>
> ---
> diff --git a/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c b/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
> index f5f1b8d..66f6f85 100644
> --- a/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
> +++ b/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
> @@ -45,7 +45,7 @@ static inline void mask_msp_slp_irq(unsigned int irq)
>   */
>  static inline void ack_msp_slp_irq(unsigned int irq)
>  {
> -	mask_slp_irq(irq);
> +	mask_msp_slp_irq(irq);
>  
>  	/*
>  	 * only really necessary for 18, 16-14 and sometimes 3:0 (since

The whole irq chip thing in this file is looking suspect as it treats
acknowledging and mask an interrupt as the same thing.  Sure that is the
right thing?

> @@ -79,7 +79,7 @@ void __init msp_slp_irq_init(void)
>  
>  	/* initialize all the IRQ descriptors */
>  	for (i = MSP_SLP_INTBASE; i < MSP_PER_INTBASE + 32; i++)
> -		set_irq_chip_and_handler(i, &msp_slp_irq_controller
> +		set_irq_chip_and_handler(i, &msp_slp_irq_controller,
>  					 handle_level_irq);
>  }
>  

> diff --git a/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c b/arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
> index f5f1b8d..66f6f85 100644

Please don't send the patch twice in one email ...

  Ralf

  reply	other threads:[~2009-04-29 11:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27 14:59 [PATCH] fix build failures on msp_irq_slp.c Florian Fainelli
2009-04-29 11:58 ` Ralf Baechle [this message]
2009-04-29 13:12   ` Florian Fainelli
2009-04-29 14:18     ` Shane McDonald
2009-06-28  5:01       ` Florian Fainelli
2009-07-11 10:51         ` Shane McDonald
2009-07-12 16:34           ` Shane McDonald
2009-07-12 16:42             ` Florian Fainelli
2009-07-13 11:53             ` Ralf Baechle

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=20090429115859.GA1487@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=florian@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mcdonald.shane@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.