1 Star 0 Fork 27

陈棋德/acpica-tools

forked from src-openEuler/acpica-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0001-fix-building-error-caused-by-variable-CurrentSp.patch 719 Bytes
一键复制 编辑 原始数据 按行查看 历史
guojunding 提交于 2024-03-07 09:53 . fixed compilation errors
From dd222c68bcab456f0230e6cd737969ccd84307fd Mon Sep 17 00:00:00 2001
From: guojunding <[email protected]>
Date: Thu, 7 Mar 2024 09:27:56 +0800
Subject: [PATCH] fix building error caused by variable 'CurrentSp'
---
source/components/utilities/utdebug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c
index 2f60bca..509815f 100644
--- a/source/components/utilities/utdebug.c
+++ b/source/components/utilities/utdebug.c
@@ -74,7 +74,7 @@ void
AcpiUtInitStackPtrTrace (
void)
{
- ACPI_SIZE CurrentSp;
+ static ACPI_SIZE CurrentSp;
#pragma GCC diagnostic push
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dillon_chen/acpica-tools.git
[email protected]:dillon_chen/acpica-tools.git
dillon_chen
acpica-tools
acpica-tools
master

搜索帮助