All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Michael Jones <michael.jones@matrix-vision.de>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] omap: fix compiler warning
Date: Tue, 31 May 2011 03:13:05 -0700	[thread overview]
Message-ID: <20110531101305.GQ11352@atomide.com> (raw)
In-Reply-To: <1301070101-12631-1-git-send-email-michael.jones@matrix-vision.de>

* Michael Jones <michael.jones@matrix-vision.de> [110325 09:20]:
>   CC      arch/arm/plat-omap/gpio.o
> arch/arm/plat-omap/gpio.c: In function ‘omap_gpio_chip_init’:
> arch/arm/plat-omap/gpio.c:1675: warning: unused variable ‘d’

This needs to be refreshed a bit as gpio.c now lives under
drivers. Please also Cc the right mailing lists in addition
to linux-omap, you can get it with:

$ scripts/get_maintainer.pl -f drivers/gpio/gpio-omap.c
Grant Likely <grant.likely@secretlab.ca> (maintainer:GPIO SUBSYSTEM)
linux-kernel@vger.kernel.org (open list)

Regards,

Tony
 
> Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
> ---
>  arch/arm/plat-omap/gpio.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
> index 971d186..a1d4d1b 100644
> --- a/arch/arm/plat-omap/gpio.c
> +++ b/arch/arm/plat-omap/gpio.c
> @@ -1672,7 +1672,9 @@ static void __init omap_gpio_chip_init(struct gpio_bank *bank)
>  
>  	for (j = bank->virtual_irq_start;
>  		     j < bank->virtual_irq_start + bank_width; j++) {
> +#ifdef CONFIG_LOCKDEP
>  		struct irq_desc *d = irq_to_desc(j);
> +#endif
>  
>  		lockdep_set_class(&d->lock, &gpio_lock_class);
>  		set_irq_chip_data(j, bank);
> -- 
> 1.7.4.1
> 
> 
> MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
> Registergericht: Amtsgericht Stuttgart, HRB 271090
> Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2011-05-31 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 16:21 [PATCH] omap: fix compiler warning Michael Jones
2011-05-31 10:13 ` Tony Lindgren [this message]

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=20110531101305.GQ11352@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=michael.jones@matrix-vision.de \
    /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.