From 30a9789d29075a967fce0af01c0bce1e35ce215b Mon Sep 17 00:00:00 2001 From: Shudan Liu Date: Thu, 5 Jan 2023 18:30:44 +0800 Subject: [PATCH] Fix build issue that compiler options treat warnning as a error type defaults to 'int' in declaration of 'md_align_offset'. [-Werror=implicit-int]. 97 | static md_align_offset;. Change-Id: I909ad4aaa4a20e9c6291798777ebf197beb61160 Signed-off-by: Shudan Liu --- drivers/soc/qcom/minidump_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/minidump_log.c b/drivers/soc/qcom/minidump_log.c index 6d2310368f99..b71f782cc6ea 100644 --- a/drivers/soc/qcom/minidump_log.c +++ b/drivers/soc/qcom/minidump_log.c @@ -94,7 +94,7 @@ static size_t md_ftrace_buf_current; static bool md_in_oops_handler; static struct seq_buf *md_runq_seq_buf; -static md_align_offset; +static int md_align_offset; /* CPU context information */ #ifdef CONFIG_QCOM_MINIDUMP_PANIC_CPU_CONTEXT