LKML Archive on
help / color / mirror / Atom feed
From: Julia Lawall <>
Subject: request_region/release_resource
Date: Thu, 3 Feb 2011 21:25:15 +0100 (CET)	[thread overview]
Message-ID: <> (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?

drivers/watchdog/s3c2410_wdt.c, in the function s3c2410wdt_probe


             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:

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

  git send-email \ \ \ \ \
    --subject='Re: request_region/release_resource' \

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