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

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

Merge "drivers/base/memory.c: fix kw reported issue"

parents f88a5347 4a54f267
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -845,6 +845,8 @@ int create_memory_block_devices(unsigned long start, unsigned long size)
		for (block_id = start_block_id; block_id != end_block_id;
		     block_id++) {
			mem = find_memory_block_by_id(block_id, NULL);
			if (WARN_ON_ONCE(!mem))
				continue;
			mem->section_count = 0;
			unregister_memory(mem);
		}