[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ppvtdfce.fsf@linaro.org>
Date: Mon, 10 Jun 2013 10:51:13 -0700
From: Kevin Hilman <khilman@...aro.org>
To: Andrii Tseglytskyi <andrii.tseglytskyi@...com>
Cc: <j-keerthy@...com>, <linux-kernel@...r.kernel.org>,
<linux-omap@...r.kernel.org>, <linux-pm@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex
Andrii Tseglytskyi <andrii.tseglytskyi@...com> writes:
> Use of of devm_* API for resource allocation provides benefits such
> as auto handling of resource free. This reduces possibility have
> memory leaks in case of wrong error handling. All direct release
> calls should be removed to avoid races.
>
> Reported-by: Grygorii Strashko <grygorii.strashko@...com>
> Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@...com>
Thanks, queuing this for v3.11.
Kevin
--
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