From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4611024B46; Fri, 15 Dec 2023 10:22:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1rE4ut-00BCeQ-4b; Fri, 15 Dec 2023 17:55:36 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 15 Dec 2023 17:55:45 +0800 Date: Fri, 15 Dec 2023 17:55:45 +0800 From: Herbert Xu To: Jia Jie Ho Cc: "David S . Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: starfive: Remove unneeded NULL checks Message-ID: References: <20231204030239.989183-1-jiajie.ho@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204030239.989183-1-jiajie.ho@starfivetech.com> On Mon, Dec 04, 2023 at 11:02:39AM +0800, Jia Jie Ho wrote: > NULL check before kfree_sensitive function is not needed. > > Signed-off-by: Jia Jie Ho > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202311301702.LxswfETY-lkp@intel.com/ > --- > drivers/crypto/starfive/jh7110-rsa.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt