All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: request_region/release_resource
Date: Thu, 03 Feb 2011 19:07:41 +0000	[thread overview]
Message-ID: <20110203190741.GT20606@bicker> (raw)
In-Reply-To: <Pine.LNX.4.64.1102031731380.14058@pc-004.diku.dk>

On Thu, Feb 03, 2011 at 05:33:28PM +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?
> 
> Example:
> drivers/watchdog/s3c2410_wdt.c, in the function s3c2410wdt_probe
> 

Best to ask on lkml.  Greg is the maintainer for driver core so CC him.

regards,
dan carpenter

  reply	other threads:[~2011-02-03 19:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 16:33 request_region/release_resource Julia Lawall
2011-02-03 19:07 ` Dan Carpenter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-03 20:25 request_region/release_resource Julia Lawall
2011-02-04 21:38 ` request_region/release_resource Greg KH

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=20110203190741.GT20606@bicker \
    --to=error27@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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.