public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* request_region/release_resource
@ 2011-02-03 16:33 Julia Lawall
  2011-02-03 19:07 ` request_region/release_resource Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2011-02-03 16:33 UTC (permalink / raw)
  To: kernel-janitors

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-03 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 16:33 request_region/release_resource Julia Lawall
2011-02-03 19:07 ` request_region/release_resource Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox