All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, kay.sievers@vrfy.org
Subject: Re: [PATCH] kobject_set_name: free old_name in case of ENOMEM
Date: Wed, 9 Sep 2009 10:03:45 -0700	[thread overview]
Message-ID: <20090909170345.GA15866@suse.de> (raw)
In-Reply-To: <alpine.LFD.2.00.0909091838080.3303@localhost.localdomain>

On Wed, Sep 09, 2009 at 06:53:21PM +0200, Sebastian Ott wrote:
> 
> If the memory allocation for the kobject's name fails we should free
> the old_name since it is no longer accessible via kobj->name.

Hasn't this come up a bunch in the past, and we do not want to do this?

You might want to search the lkml archives for details...

thanks,

greg k-h

      reply	other threads:[~2009-09-09 17:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 16:53 [PATCH] kobject_set_name: free old_name in case of ENOMEM Sebastian Ott
2009-09-09 17:03 ` Greg KH [this message]

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=20090909170345.GA15866@suse.de \
    --to=gregkh@suse.de \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sebott@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.