fix log printing in tpcm_kunpeng module

Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
This commit is contained in:
Qiumiao Zhang 2024-06-25 01:26:25 +00:00
parent ee17214f31
commit a135ea6ea5
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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 <zhangqiumiao1@huawei.com> - 1:2.04-39
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix log printing in tpcm_kunpeng module
* Wed Mar 6 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.04-38
- Type:CVE
- CVE:CVE-2024-1048