lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v1 0/6] console: unify return codes from ->setup() hook
    Date
    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'

    arch/mips/fw/arc/arc_con.c | 4 +++-
    drivers/tty/hvc/hvsi.c | 2 +-
    drivers/tty/serial/sunsab.c | 2 +-
    drivers/tty/serial/sunzilog.c | 2 +-
    kernel/printk/printk.c | 8 ++++----
    5 files changed, 10 insertions(+), 8 deletions(-)

    --
    2.27.0

    \
     
     \ /
      Last update: 2020-06-18 18:49    [W:3.299 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site