[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091014.011846.39805804.davem@davemloft.net>
Date: Wed, 14 Oct 2009 01:18:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tglx@...utronix.de
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] watchdog: Fix rio watchdog probe function
From: Thomas Gleixner <tglx@...utronix.de>
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@...utronix.de>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists