[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201201150425.GC1551@shell.armlinux.org.uk>
Date: Tue, 1 Dec 2020 15:04:25 +0000
From: Russell King - ARM Linux admin <linux@...linux.org.uk>
To: Daniel Palmer <daniel@...f.com>
Cc: devicetree@...r.kernel.org, soc@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
olof@...om.net, arnd@...db.de, robh@...nel.org, w@....eu
Subject: Re: [PATCH v2 10/10] ARM: mstar: SMP support
On Tue, Dec 01, 2020 at 10:43:30PM +0900, Daniel Palmer wrote:
> + np = of_find_compatible_node(NULL, NULL, "mstar,smpctrl");
> + smpctrl = of_iomap(np, 0);
> +
> + if (!smpctrl)
> + return -ENODEV;
Wouldn't -ENOMEM be more appropriate here?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists