]> git.baikalelectronics.ru Git - kernel.git/commit
tty: hvc: Return proper error code from console ->setup() hook
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Jun 2020 16:47:49 +0000 (19:47 +0300)
committerPetr Mladek <pmladek@suse.com>
Thu, 25 Jun 2020 12:23:06 +0000 (14:23 +0200)
commit0c43b96c2db38623557ebbb3de7e19725e41fc0a
tree3978ad4e456b28d4e7831f42a6c87b62d3615381
parent8e0f7a46bd3bb6e4ae30b61db992ac9378beacf8
tty: hvc: Return proper error code from console ->setup() hook

For unifying console ->setup() handling, which is poorly documented,
return error code, rather than non-zero arbitrary number.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200618164751.56828-5-andriy.shevchenko@linux.intel.com
drivers/tty/hvc/hvsi.c