lkml.org 
[lkml]   [2011]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] vt: Add K_OFF return value to vt_ioctl KDGKBMODE
    From
    Date

    After adding support for K_OFF in KDSKBMODE, it was forgotten to
    add support for returning it in KDGKBMODE.

    Signed-off-by: Arthur Taylor <art@ified.ca>
    ---
    drivers/tty/vt/vt_ioctl.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c
    index 937d172..e71477a 100644
    --- a/drivers/tty/vt/vt_ioctl.c
    +++ b/drivers/tty/vt/vt_ioctl.c
    @@ -701,6 +701,7 @@ int vt_ioctl(struct tty_struct *tty,
    uival = ((kbd->kbdmode == VC_RAW) ? K_RAW :
    (kbd->kbdmode == VC_MEDIUMRAW) ? K_MEDIUMRAW :
    (kbd->kbdmode == VC_UNICODE) ? K_UNICODE :
    + (kbd->kbdmode == VC_OFF) ? K_OFF :
    K_XLATE);
    goto setint;

    --
    1.7.4.1



    \
     
     \ /
      Last update: 2011-03-17 09:49    [W:0.018 / U:29.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site