LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Julia Lawall <julia@diku.dk>
To: linux-kernel@vger.kernel.org
Cc: greg@kroah.com
Subject: request_region/release_resource
Date: Thu, 3 Feb 2011 21:25:15 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.1102032124320.27852@ask.diku.dk> (raw)
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
thanks,
julia
next reply other threads:[~2011-02-03 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 20:25 Julia Lawall [this message]
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=Pine.LNX.4.64.1102032124320.27852@ask.diku.dk \
--to=julia@diku.dk \
--cc=greg@kroah.com \
--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).