[PATCH u-boot-marvell v3 34/39] tools: kwboot: Cosmetic fix
Stefan Roese
sr at denx.de
Fri Oct 1 08:30:00 CEST 2021
On 24.09.21 23:07, Marek Behún wrote:
> From: Marek Behún <marek.behun at nic.cz>
>
> Add spaces around the | operator.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> tools/kwboot.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/kwboot.c b/tools/kwboot.c
> index 5e491f31a4..9eb007f1bb 100644
> --- a/tools/kwboot.c
> +++ b/tools/kwboot.c
> @@ -644,7 +644,7 @@ kwboot_open_tty(const char *path, int baudrate)
>
> rc = -1;
>
> - fd = open(path, O_RDWR|O_NOCTTY|O_NDELAY);
> + fd = open(path, O_RDWR | O_NOCTTY | O_NDELAY);
> if (fd < 0)
> goto out;
>
> @@ -653,7 +653,7 @@ kwboot_open_tty(const char *path, int baudrate)
> goto out;
>
> cfmakeraw(&tio);
> - tio.c_cflag |= CREAD|CLOCAL;
> + tio.c_cflag |= CREAD | CLOCAL;
> tio.c_cc[VMIN] = 1;
> tio.c_cc[VTIME] = 0;
>
> @@ -1137,7 +1137,7 @@ kwboot_terminal(int tty)
> }
>
> kwboot_printv("[Type Ctrl-%c + %c to quit]\r\n",
> - quit[0]|0100, quit[1]);
> + quit[0] | 0100, quit[1]);
> } else
> in = -1;
>
>
Viele Grüße,
Stefan
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
More information about the U-Boot
mailing list