From: Stephen Boyd <sboyd@codeaurora.org>
To: Tomeu Vizoso <tomeu.vizoso@collabora.com>,
Mike Turquette <mturquette@linaro.org>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 3/8] clk: Don't try to use a struct clk* after it could have been freed
Date: Tue, 21 Oct 2014 11:31:31 -0700 [thread overview]
Message-ID: <5446A683.1020904@codeaurora.org> (raw)
In-Reply-To: <1413812442-24956-4-git-send-email-tomeu.vizoso@collabora.com>
On 10/20/2014 06:40 AM, Tomeu Vizoso wrote:
> As __clk_release could call kfree on clk and then we wouldn't have a safe way
> of getting the module that owns the clock.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
> Fixes: fcb0ee6a3d33 ("clk: Implement clk_unregister")
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2014-10-21 18:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 13:40 [PATCH v4 0/8] Per-user clock constraints Tomeu Vizoso
2014-10-20 13:40 ` Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 1/8] MIPS: Alchemy: Remove direct access to prepare_count field of struct clk Tomeu Vizoso
2014-10-25 12:59 ` Ralf Baechle
2014-10-20 13:40 ` [PATCH v4 2/8] clk: Remove unused function __clk_get_prepare_count Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 3/8] clk: Don't try to use a struct clk* after it could have been freed Tomeu Vizoso
2014-10-21 18:31 ` Stephen Boyd [this message]
2014-10-20 13:40 ` [PATCH v4 4/8] clk: Don't expose __clk_get_accuracy Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 5/8] clk: change clk_debugfs_add_file to take a struct clk_hw Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 6/8] clk: Change clk_ops->determine_rate to return a clk_hw as the best parent Tomeu Vizoso
2014-10-20 13:40 ` Tomeu Vizoso
2014-10-21 21:33 ` Stephen Boyd
2014-10-21 21:33 ` Stephen Boyd
2014-10-20 13:40 ` [PATCH v4 7/8] clk: Make clk API return per-user struct clk instances Tomeu Vizoso
2014-10-20 13:40 ` Tomeu Vizoso
2014-10-20 13:40 ` [PATCH v4 8/8] clk: Add floor and ceiling constraints to clock rates Tomeu Vizoso
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=5446A683.1020904@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=javier.martinez@collabora.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=tomeu.vizoso@collabora.com \
/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.