!434 fix log printing in tpcm_kunpeng module

From: @zhangqiumiao 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2024-06-25 02:30:51 +00:00 committed by Gitee
commit ca2f63b444
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 9 additions and 3 deletions

View File

@ -437,8 +437,8 @@ index 0000000..0803b9b
+ &response_length, NULL); + &response_length, NULL);
+ if (status != GRUB_EFI_SUCCESS) + if (status != GRUB_EFI_SUCCESS)
+ { + {
+ grub_printf ("excute_ipmi_cmd failed, request sub_cmd:%d, ret:%lu\n", + grub_dprintf ("tpcm", "excute_ipmi_cmd failed, request sub_cmd:%d, ret:%lu\n",
+ request_data.SubCmd, status); + request_data.SubCmd, status);
+ /* if we excute_ipmi_cmd, it could be the fllowing results: + /* if we excute_ipmi_cmd, it could be the fllowing results:
+ * 1. uefi have this interface, but did not implement it. + * 1. uefi have this interface, but did not implement it.
+ * 2. uefi have implemented, but bmc did not support TPCM + * 2. uefi have implemented, but bmc did not support TPCM

View File

@ -8,7 +8,7 @@
Name: grub2 Name: grub2
Epoch: 1 Epoch: 1
Version: 2.04 Version: 2.04
Release: 38 Release: 39
Summary: Bootloader with support for Linux, Multiboot and more Summary: Bootloader with support for Linux, Multiboot and more
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/grub/ URL: http://www.gnu.org/software/grub/
@ -442,6 +442,12 @@ rm -r /boot/grub2.tmp/ || :
%{_datadir}/man/man* %{_datadir}/man/man*
%changelog %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 * Wed Mar 6 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.04-38
- Type:CVE - Type:CVE
- CVE:CVE-2024-1048 - CVE:CVE-2024-1048