netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: netdev@vger.kernel.org
Cc: nobuhiro.iwamatsu.yj@renesas.com
Subject: Re: [PATCH 1/2] sh_eth: fix bitbang memory leak
Date: Wed, 20 Mar 2013 17:38:35 +0400	[thread overview]
Message-ID: <5149BBDB.8060604@cogentembedded.com> (raw)
In-Reply-To: <201303200240.23975.sergei.shtylyov@cogentembedded.com>

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 <sergei.shtylyov@cogentembedded.com>

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

CC: stable@vger.kernel.org

    Do I need to repost?

WBR, Sergei

  reply	other threads:[~2013-03-20 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 23:40 [PATCH 1/2] sh_eth: fix bitbang memory leak Sergei Shtylyov
2013-03-20 13:38 ` Sergei Shtylyov [this message]
2013-03-20 16:23 ` David Miller
2013-03-20 19:06   ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5149BBDB.8060604@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=netdev@vger.kernel.org \
    --cc=nobuhiro.iwamatsu.yj@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).