netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2.6.26] ucc_geth: Fix sneaky merge conflict regarding bus_id
@ 2008-04-23 21:56 Andy Fleming
  2008-04-25  5:47 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Fleming @ 2008-04-23 21:56 UTC (permalink / raw)
  To: jgarzik; +Cc: bunk, netdev, Andy Fleming

The patch that changed mdio_bus to a string didn't conflict strongly enough
with the patch that added fixed PHY support to UCC.  Gather it back into
the fold.

Fixes this error:
...
 CC      drivers/net/ucc_geth.o
 'ucc_geth_probe':
 /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/ucc_geth.c:3935: error:
 incompatible types in assignment
 make[3]: *** [drivers/net/ucc_geth.o] Error 1

Signed-off-by: Andy Fleming <afleming@freescale.com>
---
 drivers/net/ucc_geth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 2f11254..281ce3d 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3932,7 +3932,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
 	ug_info->uf_info.irq = irq_of_parse_and_map(np, 0);
 	fixed_link = of_get_property(np, "fixed-link", NULL);
 	if (fixed_link) {
-		ug_info->mdio_bus = 0;
+		snprintf(ug_info->mdio_bus, MII_BUS_ID_SIZE, "0");
 		ug_info->phy_address = fixed_link[0];
 		phy = NULL;
 	} else {
-- 
1.5.4.GIT


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

* Re: [PATCH v2.6.26] ucc_geth: Fix sneaky merge conflict regarding bus_id
  2008-04-23 21:56 [PATCH v2.6.26] ucc_geth: Fix sneaky merge conflict regarding bus_id Andy Fleming
@ 2008-04-25  5:47 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-04-25  5:47 UTC (permalink / raw)
  To: Andy Fleming; +Cc: bunk, netdev

Andy Fleming wrote:
> The patch that changed mdio_bus to a string didn't conflict strongly enough
> with the patch that added fixed PHY support to UCC.  Gather it back into
> the fold.
> 
> Fixes this error:
> ...
>  CC      drivers/net/ucc_geth.o
>  'ucc_geth_probe':
>  /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/net/ucc_geth.c:3935: error:
>  incompatible types in assignment
>  make[3]: *** [drivers/net/ucc_geth.o] Error 1
> 
> Signed-off-by: Andy Fleming <afleming@freescale.com>
> ---
>  drivers/net/ucc_geth.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
> index 2f11254..281ce3d 100644
> --- a/drivers/net/ucc_geth.c
> +++ b/drivers/net/ucc_geth.c
> @@ -3932,7 +3932,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
>  	ug_info->uf_info.irq = irq_of_parse_and_map(np, 0);
>  	fixed_link = of_get_property(np, "fixed-link", NULL);
>  	if (fixed_link) {
> -		ug_info->mdio_bus = 0;
> +		snprintf(ug_info->mdio_bus, MII_BUS_ID_SIZE, "0");
>  		ug_info->phy_address = fixed_link[0];

applied



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

end of thread, other threads:[~2008-04-25  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 21:56 [PATCH v2.6.26] ucc_geth: Fix sneaky merge conflict regarding bus_id Andy Fleming
2008-04-25  5:47 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).