1 Star 0 Fork 27

niuzj0/acpica-tools

forked from src-openEuler/acpica-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0001-Fix-variable-CurrentSp-error.patch 789 Bytes
一键复制 编辑 原始数据 按行查看 历史
niuzj0 提交于 2023-07-30 21:12 . Fix variable CurrentSp error
From ded60add0905fd978ded43726793b720a40df288 Mon Sep 17 00:00:00 2001
From: day0n <niuzj0@gmail.com>
Date: Sun, 30 Jul 2023 21:34:41 +0800
Subject: [PATCH] 2
---
acpica-unix2-20210604/source/components/utilities/utdebug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acpica-unix2-20210604/source/components/utilities/utdebug.c b/acpica-unix2-20210604/source/components/utilities/utdebug.c
index 0060fdf..a2def0d 100644
--- a/acpica-unix2-20210604/source/components/utilities/utdebug.c
+++ b/acpica-unix2-20210604/source/components/utilities/utdebug.c
@@ -74,7 +74,7 @@ void
AcpiUtInitStackPtrTrace (
void)
{
- ACPI_SIZE CurrentSp;
+ static ACPI_SIZE CurrentSp;
AcpiGbl_EntryStackPointer = &CurrentSp;
--
2.36.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/niuzj0/acpica-tools.git
git@gitee.com:niuzj0/acpica-tools.git
niuzj0
acpica-tools
acpica-tools
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385