[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1280834624.11842.6.camel@konomi>
Date: Tue, 03 Aug 2010 13:23:44 +0200
From: Marek Vasut <marek.vasut.n900@...il.com>
To: Samuel Ortiz <sameo@...ux.intel.com>, Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Marek Vasut <marek.vasut@...il.com>
Subject: Re: [PATCH] ucb1400_core: avoid calling platform_device_put()
twice in ucb1400_core_probe error path
----- Původní zpráva -----
> On Tue, Aug 03, 2010 at 04:34:13PM +0800, Axel Lin wrote:
> > In the case of goto err2, what we want is to call
> > platform_device_del() instead of platform_device_unregister().
> > Otherwise, we call platform_device_put() twice.
> Patch applied, thanks.
>
Thanks guys, good catch!
Cheers
> Cheers,
> Samuel.
>
> --
> Intel Open Source Technology Centre
> http://oss.intel.com/
--
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