projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4348270
)
ACPI: APEI: mark bert_disable as __initdata
author
Miaohe Lin
<linmiaohe@huawei.com>
Tue, 6 Jun 2023 12:28:19 +0000
(20:28 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 12 Jun 2023 17:23:25 +0000
(19:23 +0200)
It's only used inside the __init section. Mark it __initdata.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/bert.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/apei/bert.c
b/drivers/acpi/apei/bert.c
index
7514e38
..
5427e49
100644
(file)
--- a/
drivers/acpi/apei/bert.c
+++ b/
drivers/acpi/apei/bert.c
@@
-34,7
+34,7
@@
#define ACPI_BERT_PRINT_MAX_RECORDS 5
#define ACPI_BERT_PRINT_MAX_LEN 1024
-static int bert_disable;
+static int bert_disable
__initdata
;
/*
* Print "all" the error records in the BERT table, but avoid huge spam to