mbox series

[0/4] chardev fixes

Message ID 20210723102825.1790112-1-marcandre.lureau@redhat.com (mailing list archive)
Headers show
Series chardev fixes | expand

Message

Marc-André Lureau July 23, 2021, 10:28 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Two small fixes related to fd handling for "serial" and "file" backend and some
API comments and minor improvement.

Marc-André Lureau (4):
  chardev: fix qemu_chr_open_fd() being called with fd=-1
  chardev: fix qemu_chr_open_fd() with fd_in==fd_out
  chardev: remove needless class method
  chardev: add some comments about the class methods

 include/chardev/char.h | 34 +++++++++++++++++++++++++++++++++-
 chardev/char-fd.c      | 31 +++++++++++++++++++++++--------
 chardev/char-mux.c     |  6 ++----
 3 files changed, 58 insertions(+), 13 deletions(-)

Comments

Marc-André Lureau Aug. 2, 2021, 6:49 p.m. UTC | #1
Hi

On Fri, Jul 23, 2021 at 2:29 PM <marcandre.lureau@redhat.com> wrote:

> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Hi,
>
> Two small fixes related to fd handling for "serial" and "file" backend and
> some
> API comments and minor improvement.
>
> Marc-André Lureau (4):
>   chardev: fix qemu_chr_open_fd() being called with fd=-1
>   chardev: fix qemu_chr_open_fd() with fd_in==fd_out
>

I think I could queue those 2 patches for 6.1 as fixes. Daniel, care to
review?
thanks

  chardev: remove needless class method
>   chardev: add some comments about the class methods
>
>  include/chardev/char.h | 34 +++++++++++++++++++++++++++++++++-
>  chardev/char-fd.c      | 31 +++++++++++++++++++++++--------
>  chardev/char-mux.c     |  6 ++----
>  3 files changed, 58 insertions(+), 13 deletions(-)
>
> --
> 2.32.0.264.g75ae10bc75
>
>
>
>