Re: [PATCH] watchdog: Fix rio watchdog probe function

From: David Miller
Date: Wed Oct 14 2009 - 04:19:49 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Sat, 10 Oct 2009 12:03:28 +0200 (CEST)

> After sucessfully registering the misc device the driver iounmaps the
> hardware registers and kfree's the device data structure. Ouch !
>
> This was introduced with commit e42311d75 (riowatchdog: Convert to
> pure OF driver) and went unnoticed for more than a year :)
>
> Return success instead of dropping into the error cleanup code path.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/