[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1592193220-7460-1-git-send-email-suxingxing@loongson.cn>
Date: Mon, 15 Jun 2020 11:53:40 +0800
From: Xingxing Su <suxingxing@...ngson.cn>
To: dhowells@...hat.com, dwmw2@...radead.org
Cc: keyrings@...r.kernel.org, linux-kernel@...r.kernel.org,
yangtiezhu@...ngson.cn, lixuefeng@...ngson.cn
Subject: [PATCH] certs/blacklist_hashes.c: Use __initconst for const init definition
Fix the following checkpatch error:
ERROR: Use of const init definition must use __initconst
#4: FILE: certs/blacklist_hashes.c:4:
+const char __initdata *const blacklist_hashes[] = {
Signed-off-by: Xingxing Su <suxingxing@...ngson.cn>
---
certs/blacklist_hashes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/certs/blacklist_hashes.c b/certs/blacklist_hashes.c
index 3448923..d5961aa 100644
--- a/certs/blacklist_hashes.c
+++ b/certs/blacklist_hashes.c
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "blacklist.h"
-const char __initdata *const blacklist_hashes[] = {
+const char __initconst *const blacklist_hashes[] = {
#include CONFIG_SYSTEM_BLACKLIST_HASH_LIST
, NULL
};
--
2.1.0
Powered by blists - more mailing lists