Re: [PATCH] check_release_resource: Remove some test about functions that are no more part of linux

Dan Carpenter <[email protected]> Tue, 31 May 2022 14:12:17 +0300
Newsgroups org.kernel.vger.smatch
Message-ID <20220531111217.GS2146@kadam>
On Mon, May 30, 2022 at 09:17:30PM +0200, Christophe JAILLET wrote:
> request_mem_resource() and release_mem_resource() seem to not exist in
> recent kernel. Remove them.
> 
> Signed-off-by: Christophe JAILLET <[email protected]>
> ---
> I've tried to find it in older version. I randomly tried some search
> with elixir, up to 2.6, but never found these function. Any idea where it
> comes from?

That function predates git.  It's possible that check was inspired by
these review comments.
https://linux-arm-kernel.infradead.narkive.com/s6FjnFOw/patch-v2-i-mx31-add-hw-random-for-rnga
But those review comments were written during the git era so that's kind
of a weird thing.

Anyway, both patches applied.  Thanks!

regards,
dan carpenter