[PATCH v2 23/25] tty: serial: samsung_tty: Add earlycon support for Apple UARTs

Krzysztof Kozlowski krzk at kernel.org
Tue Feb 16 05:20:46 EST 2021


On Tue, 16 Feb 2021 at 11:19, Arnd Bergmann <arnd at kernel.org> wrote:
> > > +     return samsung_early_console_setup(device, opt);
> >
> > Don't you need to handle the error code - set PROT_DEFAULT() or whatever
> > was there before?
>
> __set_fixmap() has no return value, it just writes a page table entry and
> does not fail.

I meant, handle samsung_early_console_setup() error code (NULL).

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list