drivers/net/smc911x.c: Fix GCC 4.6 warning
Subsystems (3)
PATCH 1/1 drivers/net/smc911x.c: Fix GCC 4.6 warning
smc911x.c: In function 'smc911x_initialize':
smc911x.c:288:12: warning: assignment from incompatible pointer type [enabled by default]
--- drivers/net/smc911x.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/net/smc911x.c +1 -2
@@ -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;
Signature · 1 line
1.7.1
PATCH 1/1 drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
Fix:smsc95xx.c: In function 'smsc95xx_eth_get_info':
smsc95xx.c:869:12: warning: assignment from incompatible pointer type [enabled by default]
--- drivers/usb/eth/smsc95xx.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/usb/eth/smsc95xx.c +1 -2
@@ -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;
Signature · 1 line
1.7.1
Joe Hershberger
AppliedPATCH 1/1 drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
Quoted 6 lines · Anatolij Gustschin
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 <[email protected]>
Applied, thanks.
-Joe
PATCH 1/1 drivers/net/mpc5xxx_fec.c: Fix build warning
In reply to Anatolij GustschinFix:mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type
--- drivers/net/mpc5xxx_fec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mpc5xxx_fec.c +1 -1
@@ -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) {/*
Signature · 1 line
1.7.1
PATCH 1/1 drivers/net/mpc5xxx_fec.c: Fix build warning
Quoted 8 lines · On Mon, 21 May 2012 00:22:57 +0200 Anatolij Gustschin <[email protected]> wrote:
Fix:
mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
mpc5xxx_fec.c:920: warning: assignment from incompatible pointer typeSigned-off-by Anatolij Gustschin <[email protected]>--- drivers/net/mpc5xxx_fec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Tested on TQM5200 board.
Joe Hershberger
AppliedPATCH 1/1 drivers/net/mpc5xxx_fec.c: Fix build warning
Quoted 7 lines · Anatolij Gustschin
Quoted 4 lines · On Mon, 21 May 2012 00:22:57 +0200 Anatolij Gustschin <[email protected]> wrote:
Fix:
mpc5xxx_fec.c: In function 'mpc5xxx_fec_initialize':
mpc5xxx_fec.c:920: warning: assignment from incompatible pointer type
Quoted 8 lines
Quoted 4 lines
Signed-off-by Anatolij Gustschin <[email protected]>---
?drivers/net/mpc5xxx_fec.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)Tested on TQM5200 board.
Tested-by Anatolij Gustschin <[email protected]>
Applied, thanks.
-Joe
PATCH 1/1 arch/arm/cpu/ixp/npe/npe.c: Fix build warning
In reply to Anatolij GustschinFix:npe.c: In function 'npe_initialize':
npe.c:630:13: warning: assignment from incompatible pointer type
--- arch/arm/cpu/ixp/npe/npe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/ixp/npe/npe.c +1 -1
@@ -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;
Signature · 1 line
1.7.1
Joe Hershberger
AppliedPATCH 1/1 arch/arm/cpu/ixp/npe/npe.c: Fix build warning
Quoted 5 lines · Anatolij Gustschin
Fix:
npe.c: In function 'npe_initialize':
npe.c:630:13: warning: assignment from incompatible pointer typeSigned-off-by Anatolij Gustschin <[email protected]>
Applied, thanks.
-Joe
PATCH 1/1 drivers/usb/eth/asix.c: Fix build warning
In reply to Anatolij GustschinFix:asix.c: In function 'asix_eth_get_info':
asix.c:629:12: warning: assignment from incompatible pointer type
--- drivers/usb/eth/asix.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/eth/asix.c +1 -1
@@ -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;
Signature · 1 line
1.7.1
Joe Hershberger
AppliedPATCH 1/1 drivers/usb/eth/asix.c: Fix build warning
Quoted 5 lines · Anatolij Gustschin
Fix:
asix.c: In function 'asix_eth_get_info':
asix.c:629:12: warning: assignment from incompatible pointer typeSigned-off-by Anatolij Gustschin <[email protected]>
Applied, thanks.
-Joe
Joe Hershberger
AppliedPATCH 1/1 drivers/net/smc911x.c: Fix GCC 4.6 warning
In reply to Anatolij GustschinQuoted 5 lines · Anatolij Gustschin
smc911x.c: In function 'smc911x_initialize':
smc911x.c:288:12: warning: assignment from incompatible pointer type [enabled by default]Signed-off-by Anatolij Gustschin <[email protected]>
Applied, thanks.
-Joe