Re: [PATCH] net: axienet: Fix double deregister of mdio

From: David Miller
Date: Mon Jul 23 2018 - 12:43:39 EST


From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>
Date: Mon, 23 Jul 2018 14:08:47 +0530

> diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
> index 16c3bfb..757a3b3 100644
> --- a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
> +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
> @@ -218,6 +218,7 @@ int axienet_mdio_setup(struct axienet_local *lp, struct device_node *np)
> ret = of_mdiobus_register(bus, np1);
> if (ret) {
> mdiobus_free(bus);
> + lp->mii_bus = NULL;
> return ret;
> }

Your patch was corrupted by your email client, in particular it has transformed TAB
characters into SPACEs.

Please fix this, email the patch to yourself as a test, and please do
not send the patch here to the list again until you can successfully
apply the patch you receive in that test email.

> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

This is inappropriate for postings to this mailing list, please disable this footer
if you would like to post here.

Thank you.