Hi Russell,
On Wed, 2 Dec 2020 at 00:04, Russell King - ARM Linux admin
wrote:
>
> 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)
> > +
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://
2 matches
Mail list logo