Re: [PATCH v1 0/6] console: unify return codes from ->setup() hook

From: Petr Mladek
Date: Thu Jun 25 2020 - 09:41:33 EST


On Thu 2020-06-18 19:47:45, Andy Shevchenko wrote:
> Some of the console providers treat error code, returned by ->setup() hook,
> differently. Here is the unification of the behaviour.
>
> The drivers checked by one of the below criteria:
> 1/ the driver has explicit struct console .setup assignment
> 2/ the driver has assigned callback to the setup member
>
> All such drivers were read in order to see if there is any problematic return
> codes, and fixed accordingly which is this series in the result.
>
> Andy Shevchenko (6):
> mips: Return proper error code from console ->setup() hook
> serial: sunsab: Return proper error code from console ->setup() hook
> serial: sunzilog: Return proper error code from console ->setup() hook
> tty: hvc: Return proper error code from console ->setup() hook
> console: Propagate error code from console ->setup()
> console: Fix trivia typo 'change' -> 'chance'

The entire patchset has been pushed into printk/linux.git,
branch for-5.9-console-return-codes.

I have done "s/pure/poorly/" to fix the typo in commit messages
reported by Jiri Slaby.

Best Regards,
Petr