public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
Date: Mon, 21 May 2012 00:22:56 +0200	[thread overview]
Message-ID: <1337552579-22222-2-git-send-email-agust@denx.de> (raw)
In-Reply-To: <1337552579-22222-1-git-send-email-agust@denx.de>

Fix:
smsc95xx.c: In function 'smsc95xx_eth_get_info':
smsc95xx.c:869:12: warning: assignment from incompatible pointer type
[enabled by default]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 drivers/usb/eth/smsc95xx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index 2f63340..c7aebea 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -657,8 +657,7 @@ static int smsc95xx_init(struct eth_device *eth, bd_t *bd)
 	return 0;
 }
 
-static int smsc95xx_send(struct eth_device *eth, volatile void* packet,
-			 int length)
+static int smsc95xx_send(struct eth_device *eth, void* packet, int length)
 {
 	struct ueth_data *dev = (struct ueth_data *)eth->priv;
 	int err;
-- 
1.7.1

  reply	other threads:[~2012-05-20 22:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
2012-05-20 22:22 ` Anatolij Gustschin [this message]
2012-05-21 20:28   ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Joe Hershberger
2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning Anatolij Gustschin
2012-05-21 16:45   ` Anatolij Gustschin
2012-05-21 20:46     ` Joe Hershberger
2012-05-20 22:22 ` [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: " Anatolij Gustschin
2012-05-21 20:46   ` Joe Hershberger
2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/asix.c: " Anatolij Gustschin
2012-05-21 20:48   ` Joe Hershberger
2012-05-21 20:27 ` [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Joe Hershberger

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=1337552579-22222-2-git-send-email-agust@denx.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox