LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Julia Lawall <julia@diku.dk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: request_region/release_resource
Date: Fri, 4 Feb 2011 13:38:06 -0800	[thread overview]
Message-ID: <20110204213806.GB1336@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1102032124320.27852@ask.diku.dk>

On Thu, Feb 03, 2011 at 09:25:15PM +0100, Julia Lawall wrote:
> Is there any circumstance in which it is ok to call release_resource on 
> the result of calling request(_mem)_region?  One issue is that 
> release_resource doesn't free its argument, but then what if the call to 
> release_resource is followed by a call to kfree?

Ick, not nice things I think :(

Care to fix it up?

thanks,

greg k-h

      reply	other threads:[~2011-02-04 21:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 20:25 request_region/release_resource Julia Lawall
2011-02-04 21:38 ` 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=20110204213806.GB1336@kroah.com \
    --to=greg@kroah.com \
    --cc=julia@diku.dk \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: request_region/release_resource' \
    /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

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).