[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150510171844.GA20715@kroah.com>
Date: Sun, 10 May 2015 19:18:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Chris Metcalf <cmetcalf@...hip.com>
Cc: Jiri Slaby <jslaby@...e.cz>, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN
On Tue, May 05, 2015 at 01:11:28PM -0400, Chris Metcalf wrote:
> We were returning zero if no bytes could be written to the Tilera
> hypervisor console device, but this causes the output to be truncated.
> By returning -EAGAIN the tty hvc driver will come back and try again,
> which gives the semantics we want, and avoids dropping console output.
>
> Signed-off-by: Chris Metcalf <cmetcalf@...hip.com>
> ---
> I have queued this in the tile tree as a tile-specific device, but
> if someone would prefer to pick it up for a tty or tty/hvc tree,
> that's fine too; just let me know.
Sounds good to me, feel free to add:
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
if you want it :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists