[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

[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(), So the output format should be %u instead of %d. Signed-off-by: liujing --- v1 -> V2: Modified the description of commit. diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 095c33ad1