mirror of
https://github.com/torvalds/linux.git
synced 2026-08-11 09:54:21 +02:00
If an error occurs after a successful 'ioremap()' call, it must be undone
by a corresponding 'iounmap()' call, as already done in the remove
function.
Add a 'pf_sw_fail' label in the error handling path and add the missing
'iounmap()'.
While at it, also add a 'flr_fail' label in the error handling path and use
it to avoid some code duplication.
Fixes:
|
||
|---|---|---|
| .. | ||
| cpt | ||
| nitrox | ||
| zip | ||
| Makefile | ||