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 <quic_shudan@quicinc.com>
This commit is contained in:
Shudan Liu 2023-01-05 18:30:44 +08:00 committed by Michael Bestas
parent 73f2cc1d2e
commit 30a9789d29
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -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