From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233919AbiEaLMn (ORCPT ); Tue, 31 May 2022 07:12:43 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F38674F9C9 for ; Tue, 31 May 2022 04:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=corp-2021-07-09; bh=eXUslvZmG4iBCnuhtx2cfySZINQsH4qezHczO/2q3/g=; b=KF1rI+FOEHiKTMhoI+zIGrkrle6RtaR8bjZBn3mN6da31k8OtUgbuppcVBHfX7lxJRn7 ixhc3Zbj0/fp9DJV/E9HVVQcruASCO+c/qXNPul+pAvaoZ7W5ImwDI+a8LjNqDS0elbi Cc6g8yJZt2ymx0OUg0HhpT9RuFBjfV4vxCB/o507iG+bmq0NvAyRzbUiC1wb/8X+hc83 AR0zfB/udGuo3yUc6JI7RNEbR2bZxkYRd71TNvb4NrJO2xnrwC3w6RT/9qN8LHvsDBuk p17Jf7spkYsymOtUIWiKIMLkk80oymJ3zzlvt1roHcgF1RtOcap8X7WNnMgMUqjwmM/D Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eXUslvZmG4iBCnuhtx2cfySZINQsH4qezHczO/2q3/g=; b=h0EVbjflK1d3Jy5MMTBm+bxIAEzdyuUwjdvcSkvslLvZA8Zi1X/YqIWgUsiFeiYiauaAylDRn0tftc3d9H6RUEOHE3+UG1SmxdSb3vtLTVsLs2agyv1zwhiLXeQawAdlbF/dgwrgANT/aiqCYvIas1pj4RQq+fsHo9NUaKoQVaA= Date: Tue, 31 May 2022 14:12:17 +0300 From: Dan Carpenter Subject: Re: [PATCH] check_release_resource: Remove some test about functions that are no more part of linux Message-ID: <20220531111217.GS2146@kadam> References: <431423a8007e01b8e6e122ece3fb9442beed2d84.1653938236.git.christophe.jaillet@wanadoo.fr> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431423a8007e01b8e6e122ece3fb9442beed2d84.1653938236.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 List-ID: To: Christophe JAILLET Cc: smatch@vger.kernel.org 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 > --- > 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