Re: [PATCH] tty:hvc:Fix incorrect formatted output

2024-11-06 Thread Jiri Slaby
Also please fix the subject. See: git log --oneline drivers/tty/hvc/hvc_opal.c On 07. 11. 24, 8:10, Jiri Slaby wrote: On 07. 11. 24, 6:47, liujing wrote: The termno parameter is defined as an unsigned int in hvc_opal_probe function, "The termno parameter is defined as an unsigned int in hvc_o

Re: [PATCH] tty:hvc:Fix incorrect formatted output

2024-11-06 Thread Jiri Slaby
On 07. 11. 24, 6:47, liujing wrote: The termno parameter is defined as an unsigned int in hvc_opal_probe function, "The termno parameter is defined as an unsigned int in hvc_opal_probe()." We place () after function names, then "function" is not needed. > So when it output should be modified

[PATCH] tty:hvc:Fix incorrect formatted output

2024-11-06 Thread liujing
The termno parameter is defined as an unsigned int in hvc_opal_probe function,So when it output should be modified to %u format. Signed-off-by: liujing diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 095c33ad10f8..1d2e7f2ce088 100644 --- a/drivers/tty/hvc/hvc_opal.c