Re: [PATCH 02/21] bfin_mac: use an unique MDIO bus name.

From: Bob Liu
Date: Wed Jan 11 2012 - 09:47:33 EST


On Tue, Jan 10, 2012 at 5:59 PM, Florian Fainelli <florian@xxxxxxxxxxx> wrote:
> Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx>
> ---
> Âdrivers/net/ethernet/adi/bfin_mac.c | Â Â3 ++-
> Â1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
> index b6d69c9..d812a10 100644
> --- a/drivers/net/ethernet/adi/bfin_mac.c
> +++ b/drivers/net/ethernet/adi/bfin_mac.c
> @@ -1670,7 +1670,8 @@ static int __devinit bfin_mii_bus_probe(struct platform_device *pdev)
> Â Â Â Âmiibus->name = "bfin_mii_bus";
> Â Â Â Âmiibus->phy_mask = mii_bus_pd->phy_mask;
>
> - Â Â Â snprintf(miibus->id, MII_BUS_ID_SIZE, "0");
> + Â Â Â snprintf(miibus->id, MII_BUS_ID_SIZE, "%s-%x",
> + Â Â Â Â Â Â Â pdev->name, pdev->id);
> Â Â Â Âmiibus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL);
> Â Â Â Âif (!miibus->irq)
> Â Â Â Â Â Â Â Âgoto out_err_irq_alloc;
> --
> 1.7.5.4

Looks fine for me. Thanks.

Acked-by: Bob Liu <lliubbo@xxxxxxxxx>

--
Regards,
--Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/