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 20CCCC433F5 for ; Fri, 29 Apr 2022 19:20:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380280AbiD2TXf (ORCPT ); Fri, 29 Apr 2022 15:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380276AbiD2TXb (ORCPT ); Fri, 29 Apr 2022 15:23:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D5B2C7F for ; Fri, 29 Apr 2022 12:20:08 -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 DD466624DD for ; Fri, 29 Apr 2022 19:20:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71E5EC385A4; Fri, 29 Apr 2022 19:20:05 +0000 (UTC) From: Catalin Marinas To: Mark Brown , Mark Rutland , linux-arm-kernel@lists.infradead.org, Will Deacon , D Scott Phillips , linux-kernel@vger.kernel.org, "Madhavan T. Venkataraman" , Marc Zyngier , Wan Jiabing Subject: Re: [PATCH] arm64/sme: Fix NULL check after kzalloc Date: Fri, 29 Apr 2022 20:20:03 +0100 Message-Id: <165125999970.375622.8354265292348811773.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220426113054.630983-1-wanjiabing@vivo.com> References: <20220426113054.630983-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Apr 2022 19:30:53 +0800, Wan Jiabing wrote: > Fix following coccicheck error: > ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible model on line 326 > > Here should be dst->thread.sve_state. > > Applied to arm64 (for-next/sme), thanks! [1/1] arm64/sme: Fix NULL check after kzalloc https://git.kernel.org/arm64/c/2e29b9971ac5 -- Catalin 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 0F88DC433F5 for ; Fri, 29 Apr 2022 19:21: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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wFyvJpyT3EVhNiTJvWnJbI4NHnm/r+Rlk5jrIkb1F7A=; b=GvGwDNE8jo8sRp H3xmIba4F4uvKb6rE4UrCRKhcuY1Bh9Swrc9i1WNiX16D/KpcRP4XiKyJ154CmiNqfkaHRDUkkKG3 TaH/MgI6vPv8/jphuE6X1V6PP0+hzBvBPEjtu+WJOXoDEGkkWmCSKDUxDmelS825uzTkpv1Fets5Q oXRhpeDnSgusMo7hQ+GBxjDqKDHPXZGNWBlYpBwFxoNtQAkPJUSCAtV8wRCD1l+burvUTECqL5WXO Kxzu6cmYgFwzJ2NozROZVSRPh1wo25g5H0HVu2GI3495xAL8k4zow86UmL8ues/7xgZ+4CN65dz1I EZ96uJgTlAJpu/jsLVIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkWAL-00CK7U-LB; Fri, 29 Apr 2022 19:20:33 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkW9w-00CJzB-Jj for linux-arm-kernel@lists.infradead.org; Fri, 29 Apr 2022 19:20:10 +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 D8B65624B4; Fri, 29 Apr 2022 19:20:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71E5EC385A4; Fri, 29 Apr 2022 19:20:05 +0000 (UTC) From: Catalin Marinas To: Mark Brown , Mark Rutland , linux-arm-kernel@lists.infradead.org, Will Deacon , D Scott Phillips , linux-kernel@vger.kernel.org, "Madhavan T. Venkataraman" , Marc Zyngier , Wan Jiabing Subject: Re: [PATCH] arm64/sme: Fix NULL check after kzalloc Date: Fri, 29 Apr 2022 20:20:03 +0100 Message-Id: <165125999970.375622.8354265292348811773.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220426113054.630983-1-wanjiabing@vivo.com> References: <20220426113054.630983-1-wanjiabing@vivo.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220429_122008_711386_034BA3D2 X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 26 Apr 2022 19:30:53 +0800, Wan Jiabing wrote: > Fix following coccicheck error: > ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible model on line 326 > > Here should be dst->thread.sve_state. > > Applied to arm64 (for-next/sme), thanks! [1/1] arm64/sme: Fix NULL check after kzalloc https://git.kernel.org/arm64/c/2e29b9971ac5 -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel