Le 24/04/2022 à 11:13, Wan Jiabing a écrit :
> Use if and else instead of if(A) and if (!A) and fix a coding style.
>
> Signed-off-by: Wan Jiabing
Did you run 'checkpatch' on your patch ?
Should be
if (something)
do_something();
else
do_someth
Use if and else instead of if(A) and if (!A) and fix a coding style.
Signed-off-by: Wan Jiabing
---
drivers/tty/hvc/hvcs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c
index 245da1dfd818..9b7e8246a464 100644
--- a/driver