[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zn8xae/b6lNaWcKq@shell.armlinux.org.uk>
Date: Fri, 28 Jun 2024 22:55:53 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: mingo@...nel.org, sshegde@...ux.ibm.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM, sched/topology: Check return value of kcalloc()
On Fri, Jun 28, 2024 at 09:43:51PM +0200, Thorsten Blum wrote:
> Check the return value of kcalloc() and return early if memory
> allocation fails.
If we fail this allocation even with your fix, how likely is it that the
system will boot and manage to run userspace?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists