[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110204213806.GB1336@kroah.com>
Date: Fri, 4 Feb 2011 13:38:06 -0800
From: Greg KH <greg@...ah.com>
To: Julia Lawall <julia@...u.dk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: request_region/release_resource
On Thu, Feb 03, 2011 at 09:25:15PM +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?
Ick, not nice things I think :(
Care to fix it up?
thanks,
greg k-h
--
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