!424 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-20 07:37:03 +00:00 committed by Gitee
commit a051e476cd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 4 deletions

View File

@ -399,8 +399,8 @@ index 0000000..57a4cea
+ grub_dprintf ("tpcm", "tpcm control switch turned off, ignore excute_ipmi_cmd failure.\n"); + grub_dprintf ("tpcm", "tpcm control switch turned off, ignore excute_ipmi_cmd failure.\n");
+ else + else
+ { + {
+ err = grub_error (GRUB_ERR_BUG, + err = GRUB_ERR_BUG;
+ "excute_ipmi_cmd failed, request sub_cmd:0x%x, ret:%lu\n", + grub_dprintf ("tpcm", "excute_ipmi_cmd failed, request sub_cmd:0x%x, ret:%lu\n",
+ request_data->SubCmd, status); + request_data->SubCmd, status);
+ } + }
+ goto fail; + goto fail;

View File

@ -14,7 +14,7 @@
Name: grub2 Name: grub2
Epoch: 1 Epoch: 1
Version: 2.12 Version: 2.12
Release: 17 Release: 18
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/
@ -447,6 +447,12 @@ fi
%{_datadir}/man/man* %{_datadir}/man/man*
%changelog %changelog
* Wed Jun 5 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-18
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix log printing in tpcm_kunpeng module
* Wed Jun 19 2024 yueyuankun <yueyuankun@kylinos.cn> - 1:2.12-17 * Wed Jun 19 2024 yueyuankun <yueyuankun@kylinos.cn> - 1:2.12-17
- Type:requirement - Type:requirement
- CVE:NA - CVE:NA