]> git.proxmox.com Git - mirror_qemu.git/commit
chardev: use bool for fe_is_open
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 11 Dec 2023 14:59:59 +0000 (14:59 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 12 Jan 2024 13:23:48 +0000 (13:23 +0000)
commit67b5595d3b333fc5bcf82ce1e3aedc217b68b99a
tree6f80f9b82e4776dea6129fa37d720abbe270b5f2
parent2d41bf0fe1f70021a22033901777cd4ab42ca68f
chardev: use bool for fe_is_open

The function qemu_chr_fe_init already treats be->fe_open as a bool and
if it acts like a bool it should be one. While we are at it make the
variable name more descriptive and add kdoc decorations.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231211145959.93759-1-alex.bennee@linaro.org>
chardev/char-fe.c
chardev/char.c
include/chardev/char-fe.h