[PATCH OLK-6.6 0/1] irqchip/gic: remove useless printing in pv sgi

Jinqian Yang (1): irqchip/gic: remove useless printing in pv sgi drivers/irqchip/irq-gic-v3.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) -- 2.33.0

virt inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ICBIGY ------------------------------------------------------------------------ The print is used to facilitate fault locating during debugging. Therefore, the information needs to be deleted to prevent useless information from being printed on the host. Fixes: 09d8e9218695 ("irqchip/gic: Add HiSilicon PV SGI support") Signed-off-by: Jinqian Yang <yangjinqian1@huawei.com> --- drivers/irqchip/irq-gic-v3.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 37eb995320a3..9d2a5cc50c33 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -2950,16 +2950,12 @@ static void hisi_pv_sgi_init(void) struct arm_smccc_res res; arm_smccc_1_1_invoke(ARM_SMCCC_VENDOR_PV_SGI_FEATURES, &res); - if (res.a0 != SMCCC_RET_SUCCESS) { - pr_info("Not Support HiSilicon PV SGI!\n"); + if (res.a0 != SMCCC_RET_SUCCESS) return; - } arm_smccc_1_1_invoke(ARM_SMCCC_VENDOR_PV_SGI_ENABLE, &res); - if (res.a0 != SMCCC_RET_SUCCESS) { - pr_info("Disable HiSilicon PV SGI!\n"); + if (res.a0 != SMCCC_RET_SUCCESS) return; - } hisi_pv_sgi_enabled = true; pr_info("Enable HiSilicon PV SGI!\n"); -- 2.33.0

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/16541 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/IOR... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/16541 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/IOR...
participants (2)
-
Jinqian Yang
-
patchwork bot