From a135ea6ea591aa301dd6462e53dea16397e5b4af Mon Sep 17 00:00:00 2001 From: Qiumiao Zhang Date: Tue, 25 Jun 2024 01:26:25 +0000 Subject: [PATCH] fix log printing in tpcm_kunpeng module Signed-off-by: Qiumiao Zhang --- add-tpcm-support-with-ipmi-channel.patch | 4 ++-- grub2.spec | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/add-tpcm-support-with-ipmi-channel.patch b/add-tpcm-support-with-ipmi-channel.patch index 8981461..1611c41 100644 --- a/add-tpcm-support-with-ipmi-channel.patch +++ b/add-tpcm-support-with-ipmi-channel.patch @@ -437,8 +437,8 @@ index 0000000..0803b9b + &response_length, NULL); + if (status != GRUB_EFI_SUCCESS) + { -+ grub_printf ("excute_ipmi_cmd failed, request sub_cmd:%d, ret:%lu\n", -+ request_data.SubCmd, status); ++ grub_dprintf ("tpcm", "excute_ipmi_cmd failed, request sub_cmd:%d, ret:%lu\n", ++ request_data.SubCmd, status); + /* if we excute_ipmi_cmd, it could be the fllowing results: + * 1. uefi have this interface, but did not implement it. + * 2. uefi have implemented, but bmc did not support TPCM diff --git a/grub2.spec b/grub2.spec index bf32a71..ba094ce 100644 --- a/grub2.spec +++ b/grub2.spec @@ -8,7 +8,7 @@ Name: grub2 Epoch: 1 Version: 2.04 -Release: 38 +Release: 39 Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -442,6 +442,12 @@ rm -r /boot/grub2.tmp/ || : %{_datadir}/man/man* %changelog +* Tue Jun 25 2024 zhangqiumiao - 1:2.04-39 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:fix log printing in tpcm_kunpeng module + * Wed Mar 6 2024 zhangqiumiao - 1:2.04-38 - Type:CVE - CVE:CVE-2024-1048 -- Gitee