All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@linaro.org>
To: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Cc: <j-keerthy@ti.com>, <linux-kernel@vger.kernel.org>,
	<linux-omap@vger.kernel.org>, <linux-pm@vger.kernel.org>
Subject: Re: [PATCH v2 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex
Date: Mon, 10 Jun 2013 10:51:13 -0700	[thread overview]
Message-ID: <87ppvtdfce.fsf@linaro.org> (raw)
In-Reply-To: <1370339913-16135-2-git-send-email-andrii.tseglytskyi@ti.com> (Andrii Tseglytskyi's message of "Tue, 4 Jun 2013 12:58:32 +0300")

Andrii Tseglytskyi <andrii.tseglytskyi@ti.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@ti.com>
> Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>

Thanks, queuing this for v3.11.

Kevin

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@linaro.org>
To: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Cc: j-keerthy@ti.com, linux-kernel@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH v2 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex
Date: Mon, 10 Jun 2013 10:51:13 -0700	[thread overview]
Message-ID: <87ppvtdfce.fsf@linaro.org> (raw)
In-Reply-To: <1370339913-16135-2-git-send-email-andrii.tseglytskyi@ti.com> (Andrii Tseglytskyi's message of "Tue, 4 Jun 2013 12:58:32 +0300")

Andrii Tseglytskyi <andrii.tseglytskyi@ti.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@ti.com>
> Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>

Thanks, queuing this for v3.11.

Kevin

  reply	other threads:[~2013-06-10 17:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04  9:58 [PATCH v2 0/2] PM / AVS: SmartReflex: optimization series Andrii Tseglytskyi
2013-06-04  9:58 ` Andrii Tseglytskyi
2013-06-04  9:58 ` [PATCH v2 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex Andrii Tseglytskyi
2013-06-04  9:58   ` Andrii Tseglytskyi
2013-06-10 17:51   ` Kevin Hilman [this message]
2013-06-10 17:51     ` Kevin Hilman
2013-06-04  9:58 ` [PATCH v2 2/2] PM / AVS: SmartReflex/class3: Fix order of initialization of SR class and SR driver Andrii Tseglytskyi
2013-06-04  9:58   ` Andrii Tseglytskyi
2013-06-10 17:52   ` Kevin Hilman
2013-06-10 17:52     ` Kevin Hilman
2013-06-12 13:32     ` Tony Lindgren
2013-06-12 15:33       ` Andrii Tseglytskyi
2013-06-12 15:33         ` Andrii Tseglytskyi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppvtdfce.fsf@linaro.org \
    --to=khilman@linaro.org \
    --cc=andrii.tseglytskyi@ti.com \
    --cc=j-keerthy@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.