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

Commit 6af574e8 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Bartlomiej Zolnierkiewicz
Browse files

vmlfb: Fix error handling in cr_pll_init()



There is an error path, where iomemory is left mapped.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Alan Hourihane <alanh@fairlite.demon.co.uk>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 526c9e97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ static int __init cr_pll_init(void)
	if (err) {
		printk(KERN_ERR
		       "Carillo Ranch failed to initialize vml_sys.\n");
		iounmap(mch_regs_base);
		pci_dev_put(mch_dev);
		return err;
	}