From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 3BB59377022 for ; Wed, 18 Mar 2026 08:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773820993; cv=none; b=S1XdjxStaBpqwpU+hLQt7MeTxvJgRXIoGetWcNHnqYv53yfFTR1V7iHsIakQxLgaKi1A66q+CGKlLNzlbEPOXCQf1MYqPtas3d34UQ3T+yr1CRQib1XCx+wTZ8/Vy7kPL2gGWfJfmwgD6hS2vWz1uwEcFE704qazmY4QB9S4mvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773820993; c=relaxed/simple; bh=Otqot2lSTQdpc7U0KI8mK3FBvJdX3y1tcTjW51FHbPE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=G1AagqKLKmUMJgslqIbQuCqnZMWnwsxWH95Y4OpsUfEVvkWU+wIRAiMKolPJssrK72vLcVKgkxJRsHwJch5fO41cXiZZxaHJLY9YviaeZ2fdLSa61L2dhbOl0Tpfyz0oI4wvciyQNnUKG7wL3IvqcmvdWEaf4Y8ghXRFcUVuDUQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=c7U/aYId; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="c7U/aYId" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: 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-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1thjCaWy2Y4MaPdfgdXswMbuA6XTuPK31ODNC+iJJ2g=; b=c7U/aYIdQW2fmS2TxDL/u+YaRy dDip749V8eak2+tgxjbbSeUnn6uC3FnJmx9M1pggAXgNNdSuA1k6Hu5D29Cv+MB+IY07UvsF7R1as y1uwwqAI0bTgtWs9DwfJUrFs6Jk48JP7cHFfB8sJdNSN0rLtZwQ1AGVIQvgnpykh4MdWgyDFeTj+n D5i9P5HZbhEEIuKzEt9r6bnKvYCviJLqgRDBZZAoSdvDGbco5M7Jt9TtGSTBVIeKka/xYUTuJY7KW LbF5DN58l6FRjQ/+LIu51YK35hl0ZcQ3Egh3OB/VevpWA+VuKi+0eCZMETZ/V13N9ZBpyiTNS4t3D Ke/h/IBg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54972) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2lrt-00000000314-1wxZ; Wed, 18 Mar 2026 08:03:05 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1w2lrp-000000006vl-1Sam; Wed, 18 Mar 2026 08:03:01 +0000 Date: Wed, 18 Mar 2026 08:03:01 +0000 From: "Russell King (Oracle)" To: Li Jun Cc: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: mvebu: fix null pointer when access Message-ID: References: <20260318075324.2477118-1-lijun01@kylinos.cn> 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: <20260318075324.2477118-1-lijun01@kylinos.cn> Sender: Russell King (Oracle) On Wed, Mar 18, 2026 at 03:53:24PM +0800, Li Jun wrote: > the kzalloc may return null pointer, will cause kernel panic. So might kstrdup(), but you haven't fixed this one either. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!