Subject: Re: [PATCH 1/2] sh_eth: fix bitbang memory leak

From: Sergei Shtylyov <[email-masked]>
Date: Wed, 20 Mar 2013 17:38:35 +0400

Hello.

On 20-03-2013 3:40, Sergei Shtylyov wrote:

> sh_mdio_init() allocates pointer to 'struct bb_info' but only stores it locally,
> so that sh_mdio_release() can't free it on driver unload.  Add the pointer to
> 'struct bb_info' to 'struct sh_eth_private', so that sh_mdio_init() can save
> 'bitbang' variable for sh_mdio_release() to be able to free it later...

> Signed-off-by: Sergei Shtylyov <[email-masked]>

    I was in a bit of hurry and forgot to add:

CC: [email-masked]

    Do I need to repost?

WBR, Sergei