All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 09/12] drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning
Date: Wed, 23 Nov 2011 09:12:40 +0100	[thread overview]
Message-ID: <20111123091240.12c2b423@wker> (raw)
In-Reply-To: <1321707098-14428-1-git-send-email-agust@denx.de>

Hello Heiko,

On Sat, 19 Nov 2011 13:51:38 +0100
Anatolij Gustschin <agust@denx.de> wrote:

> Fix:
> davinci_i2c.c: In function 'flush_rx':
> davinci_i2c.c:81:6: warning: variable 'dummy' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Acked-by: Heiko Schocher <hs@denx.de>
> ---
> v2:
>  - drop void cast since REG() is not a function call but
>    expands to (*(volatile unsigned int *)(I2C_DDR))
>    and thus we don't need to indicate that return value is ignored
>    intentionally
> 
>  drivers/i2c/davinci_i2c.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)

Could you apply this patch, too? Thanks!

Anatolij

  reply	other threads:[~2011-11-23  8:12 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15 23:20 [U-Boot] [PATCH 00/12] Some GCC 4.6 build warning fixes Anatolij Gustschin
2011-11-15 23:20 ` [U-Boot] [PATCH 01/12] drivers/spi/atmel_spi.c: Fix GCC 4.6 warning Anatolij Gustschin
2011-11-16 20:28   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 02/12] drivers/mtd/dataflash.c: " Anatolij Gustschin
2011-11-16 20:28   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 03/12] drivers/net/at91_emac.c: " Anatolij Gustschin
2011-11-16 20:28   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings Anatolij Gustschin
2011-11-16 15:58   ` Mike Frysinger
2011-11-16 20:30     ` Wolfgang Denk
2011-11-16 20:29   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 05/12] board/cm41xx/flash.c: " Anatolij Gustschin
2011-11-16 20:35   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 06/12] board/cm4008/flash.c: " Anatolij Gustschin
2011-11-16 20:35   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 07/12] drivers/video/da8xx-fb.c: Fix GCC 4.6 warning Anatolij Gustschin
2011-11-16 20:36   ` Wolfgang Denk
2011-11-15 23:20 ` [U-Boot] [PATCH 08/12] drivers/video/bus_vcxk.c: " Anatolij Gustschin
2011-11-16 20:36   ` Wolfgang Denk
2011-11-15 23:21 ` [U-Boot] [PATCH 09/12] drivers/i2c/davinci_i2c.c: " Anatolij Gustschin
2011-11-16  6:31   ` Heiko Schocher
2011-11-16 15:42   ` Tom Rini
2011-11-19 12:59     ` Anatolij Gustschin
2011-11-19 12:51   ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2011-11-23  8:12     ` Anatolij Gustschin [this message]
2011-11-23  8:28       ` Heiko Schocher
2011-11-15 23:21 ` [U-Boot] [PATCH 10/12] arch/arm/cpu/armv7/s5p-common/pwm.c: fix " Anatolij Gustschin
2011-11-16 20:37   ` Wolfgang Denk
2011-11-15 23:21 ` [U-Boot] [PATCH 11/12] fs/yaffs2/yaffs_guts.c: Fix some GCC 4.6 warnings Anatolij Gustschin
2011-11-16 20:37   ` Wolfgang Denk
2011-11-15 23:21 ` [U-Boot] [PATCH 12/12] drivers/rtc/s3c24x0_rtc.c: fix " Anatolij Gustschin
2011-11-16 20:37   ` Wolfgang Denk

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=20111123091240.12c2b423@wker \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.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.