From: Chris Metcalf Date: Mon, 4 May 2015 21:25:12 +0000 (-0400) Subject: drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN X-Git-Tag: omap-for-v4.3/legacy-v2-signed~94^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4287df82991ca608f44d7ac12ad9b3bc39d5baa;p=pandora-kernel.git drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN 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. Acked-by: Greg Kroah-Hartman Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed