diff mbox

HPET+PAT causes "bad page state"

Message ID 4C6CFE78.7030809@suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Jiri Slaby Aug. 19, 2010, 9:50 a.m. UTC
None
diff mbox

Patch

--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -1017,6 +1017,8 @@  static int hpet_acpi_add(struct acpi_device *device)
                return -ENODEV;

        if (!data.hd_address || !data.hd_nirqs) {
+               if (data.hd_address)
+                       iounmap(data.hd_address);
                printk("%s: no address or irqs in _CRS\n", __func__);
                return -ENODEV;
        }