Skip to content
Commit b16bf712 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: fix leak un ioremap_page_range() failure



Jan Beulich noticed it during code review that if a driver's ioremap()
fails (say due to -ENOMEM) then we might leak the struct vm_area.

Free it properly.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f2dbe03d
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