public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning
@ 2012-05-20 22:22 Anatolij Gustschin
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Anatolij Gustschin
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-20 22:22 UTC (permalink / raw)
  To: u-boot

smc911x.c: In function 'smc911x_initialize':
smc911x.c:288:12: warning: assignment from incompatible pointer type
[enabled by default]

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

diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index e34b487..b2aed7e 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -161,8 +161,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
 	return 0;
 }
 
-static int smc911x_send(struct eth_device *dev,
-			volatile void *packet, int length)
+static int smc911x_send(struct eth_device *dev, void *packet, int length)
 {
 	u32 *data = (u32*)packet;
 	u32 tmplen;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
  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
  2012-05-21 20:28   ` Joe Hershberger
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning Anatolij Gustschin
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-20 22:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning
  2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Anatolij Gustschin
@ 2012-05-20 22:22 ` Anatolij Gustschin
  2012-05-21 16:45   ` Anatolij Gustschin
  2012-05-20 22:22 ` [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: " Anatolij Gustschin
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-20 22:22 UTC (permalink / raw)
  To: u-boot

Fix:
mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type

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

diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c
index bc8c922..3d180db 100644
--- a/drivers/net/mpc5xxx_fec.c
+++ b/drivers/net/mpc5xxx_fec.c
@@ -707,7 +707,7 @@ static void rfifo_print(char *devname, mpc5xxx_fec_priv *fec)
 
 /********************************************************************/
 
-static int mpc5xxx_fec_send(struct eth_device *dev, volatile void *eth_data,
+static int mpc5xxx_fec_send(struct eth_device *dev, void *eth_data,
 		int data_length)
 {
 	/*
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: Fix build warning
  2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Anatolij Gustschin
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning Anatolij Gustschin
@ 2012-05-20 22:22 ` 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:27 ` [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Joe Hershberger
  4 siblings, 1 reply; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-20 22:22 UTC (permalink / raw)
  To: u-boot

Fix:
npe.c: In function 'npe_initialize':
npe.c:630:13: warning: assignment from incompatible pointer type

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 arch/arm/cpu/ixp/npe/npe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/ixp/npe/npe.c b/arch/arm/cpu/ixp/npe/npe.c
index f0e02bf..1fe3a95 100644
--- a/arch/arm/cpu/ixp/npe/npe.c
+++ b/arch/arm/cpu/ixp/npe/npe.c
@@ -518,7 +518,7 @@ static void npe_halt(struct eth_device *dev)
 }
 
 
-static int npe_send(struct eth_device *dev, volatile void *packet, int len)
+static int npe_send(struct eth_device *dev, void *packet, int len)
 {
 	struct npe *p_npe = (struct npe *)dev->priv;
 	u8 *dest;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/usb/eth/asix.c: Fix build warning
  2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
                   ` (2 preceding siblings ...)
  2012-05-20 22:22 ` [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: " Anatolij Gustschin
@ 2012-05-20 22:22 ` 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
  4 siblings, 1 reply; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-20 22:22 UTC (permalink / raw)
  To: u-boot

Fix:
asix.c: In function 'asix_eth_get_info':
asix.c:629:12: warning: assignment from incompatible pointer type

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

diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c
index 2f116c0..a3bf51a 100644
--- a/drivers/usb/eth/asix.c
+++ b/drivers/usb/eth/asix.c
@@ -419,7 +419,7 @@ out_err:
 	return -1;
 }
 
-static int asix_send(struct eth_device *eth, volatile void *packet, int length)
+static int asix_send(struct eth_device *eth, void *packet, int length)
 {
 	struct ueth_data *dev = (struct ueth_data *)eth->priv;
 	int err;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning
  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
  0 siblings, 1 reply; 11+ messages in thread
From: Anatolij Gustschin @ 2012-05-21 16:45 UTC (permalink / raw)
  To: u-boot

On Mon, 21 May 2012 00:22:57 +0200
Anatolij Gustschin <agust@denx.de> wrote:

> Fix:
> mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
> mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  drivers/net/mpc5xxx_fec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Tested on TQM5200 board.

Tested-by: Anatolij Gustschin <agust@denx.de>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning
  2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
                   ` (3 preceding siblings ...)
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/asix.c: " Anatolij Gustschin
@ 2012-05-21 20:27 ` Joe Hershberger
  4 siblings, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2012-05-21 20:27 UTC (permalink / raw)
  To: u-boot

On Sun, May 20, 2012 at 5:22 PM, Anatolij Gustschin <agust@denx.de> wrote:
> smc911x.c: In function 'smc911x_initialize':
> smc911x.c:288:12: warning: assignment from incompatible pointer type
> [enabled by default]
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks.

-Joe

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Anatolij Gustschin
@ 2012-05-21 20:28   ` Joe Hershberger
  0 siblings, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2012-05-21 20:28 UTC (permalink / raw)
  To: u-boot

On Sun, May 20, 2012 at 5:22 PM, Anatolij Gustschin <agust@denx.de> wrote:
> 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>

Applied, thanks.

-Joe

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/net/mpc5xxx_fec.c: Fix build warning
  2012-05-21 16:45   ` Anatolij Gustschin
@ 2012-05-21 20:46     ` Joe Hershberger
  0 siblings, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2012-05-21 20:46 UTC (permalink / raw)
  To: u-boot

On Mon, May 21, 2012 at 11:45 AM, Anatolij Gustschin <agust@denx.de> wrote:
> On Mon, 21 May 2012 00:22:57 +0200
> Anatolij Gustschin <agust@denx.de> wrote:
>
>> Fix:
>> mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
>> mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type
>>
>> Signed-off-by: Anatolij Gustschin <agust@denx.de>
>> ---
>> ?drivers/net/mpc5xxx_fec.c | ? ?2 +-
>> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> Tested on TQM5200 board.
>
> Tested-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks.

-Joe

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: Fix build warning
  2012-05-20 22:22 ` [U-Boot] [PATCH] arch/arm/cpu/ixp/npe/npe.c: " Anatolij Gustschin
@ 2012-05-21 20:46   ` Joe Hershberger
  0 siblings, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2012-05-21 20:46 UTC (permalink / raw)
  To: u-boot

On Sun, May 20, 2012 at 5:22 PM, Anatolij Gustschin <agust@denx.de> wrote:
> Fix:
> npe.c: In function 'npe_initialize':
> npe.c:630:13: warning: assignment from incompatible pointer type
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks.

-Joe

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [U-Boot] [PATCH] drivers/usb/eth/asix.c: Fix build warning
  2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/asix.c: " Anatolij Gustschin
@ 2012-05-21 20:48   ` Joe Hershberger
  0 siblings, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2012-05-21 20:48 UTC (permalink / raw)
  To: u-boot

On Sun, May 20, 2012 at 5:22 PM, Anatolij Gustschin <agust@denx.de> wrote:
> Fix:
> asix.c: In function 'asix_eth_get_info':
> asix.c:629:12: warning: assignment from incompatible pointer type
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>

Applied, thanks.

-Joe

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-21 20:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-20 22:22 [U-Boot] [PATCH] drivers/net/smc911x.c: Fix GCC 4.6 warning Anatolij Gustschin
2012-05-20 22:22 ` [U-Boot] [PATCH] drivers/usb/eth/smsc95xx.c: " Anatolij Gustschin
2012-05-21 20:28   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox