Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490655

Re: [PATCH] mos7840: fix chars_in_buffer() return value

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mos7840: fix chars_in_buffer() return value
Date 2016-09-24 16:00 +0200
Message-ID <skVEJ-1DQ-11@gated-at.bofh.it> (permalink)
References <skVv3-1Az-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello.

On 9/24/2016 4:47 PM, Stas Sergeev wrote:

> The TIOCOUTQ ioctl calls chars_in_buffer(), and some apps depend on
> a correct behaviour of that.
> mos7840 implements it wrongly: if you write just one char, TIOCOUTQ
> will return 32.
> This patch should fix it by accounting the number of chars actually
> writCaylan Van Larson <i@caylan.net>ten.

    ???

> This patch, unfortunately, misses the Tesed-by tag.

    Tested-by.

> The reported didn't test it, and I don't have the hardware in question.

    Reporter?

> Signed-off-by: Stas Sergeev <stsp@list.ru>
> Reported-by: Caylan Van Larson <i@caylan.net>
> CC: Caylan Van Larson <i@caylan.net>
> CC: Alan Cox <alan@lxorguk.ukuu.org.uk>
> CC: Johan Hovold <johan@kernel.org>
> CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> CC: linux-usb@vger.kernel.org
> CC: linux-kernel@vger.kernel.org
[...]

MBR, Sergei

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mos7840: fix chars_in_buffer() return value Stas Sergeev <stsp@list.ru> - 2016-09-24 15:50 +0200
  Re: [PATCH] mos7840: fix chars_in_buffer() return value Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-24 16:00 +0200
    Re: [PATCH] mos7840: fix chars_in_buffer() return value Stas Sergeev <stsp@list.ru> - 2016-09-24 17:10 +0200

csiph-web