[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1102032124320.27852@ask.diku.dk>
Date: Thu, 3 Feb 2011 21:25:15 +0100 (CET)
From: Julia Lawall <julia@...u.dk>
To: linux-kernel@...r.kernel.org
Cc: greg@...ah.com
Subject: request_region/release_resource
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists