Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1748381d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: Create a zero filled initial buffer for ftrace/boot log"

parents 507b1bd5 2a38d35e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -599,7 +599,7 @@ static void md_register_trace_buf(void)
	struct md_region md_entry;
	void *buffer_start;

	buffer_start = kmalloc(MD_FTRACE_BUF_SIZE, GFP_KERNEL);
	buffer_start = kzalloc(MD_FTRACE_BUF_SIZE, GFP_KERNEL);

	if (!buffer_start)
		return;
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ static void boot_log_init(void)
	else
		size = BOOT_LOG_SIZE;

	start = kmalloc(size, GFP_KERNEL);
	start = kzalloc(size, GFP_KERNEL);
	if (!start)
		goto out;