Commit 437155f4 authored by Randy Dunlap's avatar Randy Dunlap Committed by Stephen Hemminger

[PATCH] janitor: insert a missing iounmap()

From: Leann Ogasawara <ogasawara@osdl.org>
Subject: [Kernel-janitors] [PATCH] insert missing iounmap()

Patch inserts a missing iounmap().
parent f588328d
......@@ -259,10 +259,12 @@ rcpci45_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
dev->set_config = &RCconfig;
if ((error = register_netdev(dev)))
goto err_out_free_region;
goto err_out_iounmap;
return 0; /* success */
err_out_iounmap:
iounmap((void *) dev->base_addr);
err_out_free_region:
pci_release_regions (pdev);
err_out_free_msgbuf:
......
Markdown is supported
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