[PATCH] tty: hvc: remove set but unused variable

2023-09-07 Thread Bo Liu
The local variable vdev in hvcs_destruct_port() is set but not used. Remove the variable and related code. Signed-off-by: Bo Liu --- drivers/tty/hvc/hvcs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c index d29fdfe9d93d..b537d1fb67d4

[PATCH] powerpc/pseries/eeh: Fix some kernel-doc warnings

2022-10-30 Thread Bo Liu
ies.c:198: warning: Excess function parameter 'config_adddr' description in 'pseries_eeh_phb_configure_bridge' Signed-off-by: Bo Liu --- arch/powerpc/platforms/pseries/eeh_pseries.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platf

[PATCH] powerpc: Fix some kernel-doc warnings

2022-10-31 Thread Bo Liu
The current code provokes some kernel-doc warnings: arch/powerpc/kernel/process.c:1606: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Signed-off-by: Bo Liu --- arch/powerpc/kernel/process.c | 2 +-

[PATCH] KVM: PPC: Book3S HV: fix the return value of kvm_age_rmapp()

2022-04-01 Thread Bo Liu
The return value type defined in the function kvm_age_rmapp() is "bool", but the return value type defined in the implementation of the function kvm_age_rmapp() is "int". Change the return value type to "bool". Signed-off-by: Bo Liu --- arch/powerpc/kvm/book3s_

[PATCH] KVM: PPC: Book3S HV: fix the return value of kvm_age_rmapp()

2022-04-01 Thread Bo Liu
The return value type defined in the function kvm_age_rmapp() is "bool", but the return value type defined in the implementation of the function kvm_age_rmapp() is "int". Change the return value type to "bool". Signed-off-by: Bo Liu --- arch/powerpc/kvm/book3s_