!429 fix log printing in tpcm_kunpeng moddule again
From: @zhangqiumiao Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
d93719521c
@ -400,8 +400,8 @@ index 0000000..f7295ee
|
|||||||
+ 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_ERR_BUG;
|
+ err = grub_error (GRUB_ERR_BUG,
|
||||||
+ grub_dprintf ("tpcm", "excute_ipmi_cmd failed, request sub_cmd:0x%x, ret:%lu\n",
|
+ "excute_ipmi_cmd failed, request sub_cmd:0x%x, ret:%lu\n",
|
||||||
+ request_data->SubCmd, status);
|
+ request_data->SubCmd, status);
|
||||||
+ }
|
+ }
|
||||||
+ goto fail;
|
+ goto fail;
|
||||||
@ -459,7 +459,7 @@ index 0000000..f7295ee
|
|||||||
+ &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.
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
Name: grub2
|
Name: grub2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.06
|
Version: 2.06
|
||||||
Release: 47
|
Release: 48
|
||||||
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/
|
||||||
@ -453,6 +453,12 @@ fi
|
|||||||
%{_datadir}/man/man*
|
%{_datadir}/man/man*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 24 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-48
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix log printing in tpcm_kunpeng moddule again
|
||||||
|
|
||||||
* Tue Jun 18 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-47
|
* Tue Jun 18 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.06-47
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user