[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190524.131144.357456710258151289.davem@davemloft.net>
Date: Fri, 24 May 2019 13:11:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fugang.duan@....com
Cc: netdev@...r.kernel.org, baruch@...s.co.il
Subject: Re: [PATCH net,stable 1/1] net: fec: add defer probe for
of_get_mac_address
From: Andy Duan <fugang.duan@....com>
Date: Thu, 23 May 2019 01:55:23 +0000
> @@ -3146,7 +3150,10 @@ static int fec_enet_init(struct net_device *ndev)
> memset(cbd_base, 0, bd_size);
>
> /* Get the Ethernet address */
> - fec_get_mac(ndev);
> + ret = fec_get_mac(ndev);
> + if (ret)
> + return ret;
You're leaking the queues allocated by fec_enet_alloc_queue().
Powered by blists - more mailing lists