From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB617C433EF for ; Tue, 26 Apr 2022 11:45:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349642AbiDZLsj (ORCPT ); Tue, 26 Apr 2022 07:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232408AbiDZLsc (ORCPT ); Tue, 26 Apr 2022 07:48:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB31C263A for ; Tue, 26 Apr 2022 04:45:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 83BAE61847 for ; Tue, 26 Apr 2022 11:45:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F09CFC385AA; Tue, 26 Apr 2022 11:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650973523; bh=oGnsUIMIoXQAQAe3B5OwF3xVCc2n7+5xrTXnU2G1hQE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gyq1tQRoN9PHiU6UIjbUpIsfJCxJCt7Vq9fQr6BNNkGgSYotaIks6dsVcT4tW++tU O6tLUC9mK1Sv9Xz7Dk6eL6EXsz3uDOcXsRA0AjJGI2sfpr35cD394HmhK45mw6fWjG ayypx5dhezKzi1TwSAJgcu10DVhk+1DG4I4YlNh2d3QK5A/AIj4q7ZWjU0ISQtWcTb lxXCRUc4Yq5k1Lsiato7DUKIVDUdrEw/EWyVzb3ZgH+P4kKXxXU2gMOvj2tEi5t76Z UxvSQ8CmO1vnLtTHKPWDChErpR72bj4LKxPhB9nJOEyRk+UZYp3FGcmm5rcCzRJCuk BPzw5BvrvhZ8g== Date: Tue, 26 Apr 2022 12:45:18 +0100 From: Mark Brown To: Wan Jiabing Cc: Catalin Marinas , Will Deacon , Mark Rutland , Marc Zyngier , "Madhavan T. Venkataraman" , D Scott Phillips , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/sme: Fix NULL check after kzalloc Message-ID: References: <20220426113054.630983-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xJOjevB+s9JKXmbs" Content-Disposition: inline In-Reply-To: <20220426113054.630983-1-wanjiabing@vivo.com> X-Cookie: I'm a Lisp variable -- bind me! Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xJOjevB+s9JKXmbs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 26, 2022 at 07:30:53PM +0800, Wan Jiabing wrote: > Fix following coccicheck error: > ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible mode= l on line 326 >=20 > Here should be dst->thread.sve_state. Reviwed-by: Mark Brown --xJOjevB+s9JKXmbs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJn200ACgkQJNaLcl1U h9Aj7gf/WQu2rYZ+wRzlr/TJlc6w0hpHdo5EFx0qFWPTwmPwW66+aTbjNdB1uUzK G0+xCWlSp4yeMpgTIV/S6+D+7ir08ix+dVmXpZ/knK8bDmqNqmwednk+gXppTluj +5mwQdssFHIFC/DJKHVSjaddTA2Ys+NRF28bRf6mOsrRctQVMIsVqxd7zZh9zwl9 6ldEVoTbOU2IKQwBg8R1i1WvwOLQd3kzJVKFiNIWxAV88n5/6tTrUltZxBVs+sLI RtMwMMEd6hag9Hvls3/WQjrMs8QV3QAMj2/3fJgxvM0WL4ttpdzkKiiF6D4SpZ4E WlwaX68xuYcyjsWeRd9RTLreJE7ILQ== =R+d/ -----END PGP SIGNATURE----- --xJOjevB+s9JKXmbs-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 010F0C433F5 for ; Tue, 26 Apr 2022 11:46:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fXOb645Czw6IY4ozvKlfaloNvNGVsoSjulYk2+rVw/I=; b=boptFVmSTXStzbP/VDY0DyAwWG zBAVEyZhT0hLQskf+F8qwMZfsoDDNWzXg6/01UlCwTaAymMuoRXIhli/7S3F50RJdUGI0sVHE40WZ hh9qFlaXsW7g8i/N7r3R8pI9aNq08NdrEwkN+M/v1wqeITN4S1e7HleRbzDuZTD16bgcAJpCZTLTr 1CZSFdQRp7dMolcstorwc3ZuOvtFixpx2ukyG08Xfpmje8SdkaiNfQjJenxdfK3AQZ4d6wMAwQU0Q Fq9HceRo7G86ezhYEuQygXxPaKN0DDfCMlnQ7NhE6yvoYj38IEYZDNL6ZQyAVpog52EAa/6z3FL/6 Hypuj2nA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njJdH-00E7wv-H6; Tue, 26 Apr 2022 11:45:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njJdE-00E7w7-Uk for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 11:45:26 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7AEA261843; Tue, 26 Apr 2022 11:45:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F09CFC385AA; Tue, 26 Apr 2022 11:45:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650973523; bh=oGnsUIMIoXQAQAe3B5OwF3xVCc2n7+5xrTXnU2G1hQE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gyq1tQRoN9PHiU6UIjbUpIsfJCxJCt7Vq9fQr6BNNkGgSYotaIks6dsVcT4tW++tU O6tLUC9mK1Sv9Xz7Dk6eL6EXsz3uDOcXsRA0AjJGI2sfpr35cD394HmhK45mw6fWjG ayypx5dhezKzi1TwSAJgcu10DVhk+1DG4I4YlNh2d3QK5A/AIj4q7ZWjU0ISQtWcTb lxXCRUc4Yq5k1Lsiato7DUKIVDUdrEw/EWyVzb3ZgH+P4kKXxXU2gMOvj2tEi5t76Z UxvSQ8CmO1vnLtTHKPWDChErpR72bj4LKxPhB9nJOEyRk+UZYp3FGcmm5rcCzRJCuk BPzw5BvrvhZ8g== Date: Tue, 26 Apr 2022 12:45:18 +0100 From: Mark Brown To: Wan Jiabing Cc: Catalin Marinas , Will Deacon , Mark Rutland , Marc Zyngier , "Madhavan T. Venkataraman" , D Scott Phillips , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/sme: Fix NULL check after kzalloc Message-ID: References: <20220426113054.630983-1-wanjiabing@vivo.com> MIME-Version: 1.0 In-Reply-To: <20220426113054.630983-1-wanjiabing@vivo.com> X-Cookie: I'm a Lisp variable -- bind me! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_044525_069928_8AC84EFB X-CRM114-Status: GOOD ( 12.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0002429779177562826==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0002429779177562826== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xJOjevB+s9JKXmbs" Content-Disposition: inline --xJOjevB+s9JKXmbs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 26, 2022 at 07:30:53PM +0800, Wan Jiabing wrote: > Fix following coccicheck error: > ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible mode= l on line 326 >=20 > Here should be dst->thread.sve_state. Reviwed-by: Mark Brown --xJOjevB+s9JKXmbs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJn200ACgkQJNaLcl1U h9Aj7gf/WQu2rYZ+wRzlr/TJlc6w0hpHdo5EFx0qFWPTwmPwW66+aTbjNdB1uUzK G0+xCWlSp4yeMpgTIV/S6+D+7ir08ix+dVmXpZ/knK8bDmqNqmwednk+gXppTluj +5mwQdssFHIFC/DJKHVSjaddTA2Ys+NRF28bRf6mOsrRctQVMIsVqxd7zZh9zwl9 6ldEVoTbOU2IKQwBg8R1i1WvwOLQd3kzJVKFiNIWxAV88n5/6tTrUltZxBVs+sLI RtMwMMEd6hag9Hvls3/WQjrMs8QV3QAMj2/3fJgxvM0WL4ttpdzkKiiF6D4SpZ4E WlwaX68xuYcyjsWeRd9RTLreJE7ILQ== =R+d/ -----END PGP SIGNATURE----- --xJOjevB+s9JKXmbs-- --===============0002429779177562826== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0002429779177562826==--