From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings
Date: Wed, 16 Nov 2011 10:58:56 -0500 [thread overview]
Message-ID: <201111161058.57150.vapier@gentoo.org> (raw)
In-Reply-To: <1321399263-13826-5-git-send-email-agust@denx.de>
On Tuesday 15 November 2011 18:20:55 Anatolij Gustschin wrote:
> - eir_reg = enc_r8(enc, CTL_REG_EIR);
> + (void)enc_r8(enc, CTL_REG_EIR);
is that (void) actually necessary ? last i looked, gcc didn't actually care.
which means you should drop the (void).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111116/fd856c76/attachment.pgp
next prev parent reply other threads:[~2011-11-16 15:58 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 [this message]
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
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=201111161058.57150.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox