summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/ia64/crashdump-ia64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/arch/ia64/crashdump-ia64.c b/kexec/arch/ia64/crashdump-ia64.c
index ea7f4d7..d41eb04 100644
--- a/kexec/arch/ia64/crashdump-ia64.c
+++ b/kexec/arch/ia64/crashdump-ia64.c
@@ -193,6 +193,10 @@ static int get_crash_memory_ranges(struct memory_range **range, int *ranges)
return 0;
}
+/*
+ * Note that this assignes a malloced pointer to *cmdline,
+ * which is likely never freed by the caller
+ */
static void
cmdline_add_elfcorehdr(const char **cmdline, unsigned long addr)
{