From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/drivers/oprofile/cpu_buffer.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/oprofile/cpu_buffer.h b/kernel/drivers/oprofile/cpu_buffer.h
index e1d097e..31478c0 100644
--- a/kernel/drivers/oprofile/cpu_buffer.h
+++ b/kernel/drivers/oprofile/cpu_buffer.h
@@ -33,7 +33,7 @@
struct op_sample {
unsigned long eip;
unsigned long event;
- unsigned long data[0];
+ unsigned long data[];
};
struct op_entry;
--
Gitblit v1.6.2