[PATCH 00/25] Change tty_port(standard)_install's return type

Alan Cox gnomes at lxorguk.ukuu.org.uk
Thu Sep 13 00:41:19 AEST 2018


On Tue,  4 Sep 2018 11:44:26 +0900
Jaejoong Kim <climbbb.kim at gmail.com> wrote:

> Many drivers with tty use the tty_stand_install(). But, there is no
> need to handle the error, since it always returns 0.


And what happens if another change means it can fail again. It's just a
property of the current implementation that it can't. It used to fail.

This seems to be a ton of unneccessary churn that will end up just having
to be reversed again some day in the future.

Alan


More information about the Linuxppc-dev mailing list