mirror of
https://github.com/torvalds/linux.git
synced 2026-08-29 03:56:05 +02:00
A call of the function do_take_over_console() can fail here.
The corresponding system resources were not released then.
Thus add a call of iounmap() and release_mem_region()
together with the check of a failure predicate. and also
add release_mem_region() on device removal.
Fixes:
|
||
|---|---|---|
| .. | ||
| dummycon.c | ||
| Kconfig | ||
| Makefile | ||
| mdacon.c | ||
| newport_con.c | ||
| sticon.c | ||
| sticore.c | ||
| vgacon.c | ||