Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f7d77dfc authored by Baoquan He's avatar Baoquan He Committed by Dennis Zhou
Browse files

mm/percpu.c: print error message too if atomic alloc failed


The variable 'err' is assgigned to an error message if atomic alloc
failed, while it has no chance to be printed if is_atomic is true.

Here change to print error message too if atomic alloc failed, while
avoid to call dump_stack() if that case.

Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
parent 7ee1e758
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment