[lkml]   [2012]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 15/68] TTY: ipwireless, fix tty->index handling
    On Mon, 5 Mar 2012, Jiri Slaby wrote:

    > * do not test if tty->index is in bounds. It is always.
    > * tty->index is not a minor! Fix that.
    > >From now on, let's assume that the parameter of the function is tty
    > index with base being zero. This makes also the code more readable.
    > Factually, there is no real change as tty_driver->minor_start is zero,
    > so the tests are equivalent. But it did not make sense. And if this
    > had changed eventually, it would have caused troubles.
    > Signed-off-by: Jiri Slaby <>
    > Cc: Jiri Kosina <>
    > Cc: David Sterba <>

    Acked-by: Jiri Kosina <>

    Thanks Jiri.

    Jiri Kosina
    SUSE Labs

     \ /
      Last update: 2012-03-05 15:05    [W:0.020 / U:0.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site