[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170301190350.GP25384@codeaurora.org>
Date: Wed, 1 Mar 2017 11:03:50 -0800
From: Stephen Boyd <sboyd@...eaurora.org>
To: Jerome Brunet <jbrunet@...libre.com>
Cc: Michael Turquette <mturquette@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Carlo Caione <carlo@...one.org>, linux-clk@...r.kernel.org,
linux-amlogic@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: meson: fix SET_PARM macro
On 02/28, Jerome Brunet wrote:
> On Tue, 2017-02-28 at 13:26 -0800, Stephen Boyd wrote:
> > On 02/28, Jerome Brunet wrote:
> > > parameter val is not enclosed in parenthesis which is buggy when
> > > given an
> > > expression instead of a simple value
> > >
> > > Signed-off-by: Jerome Brunet <jbrunet@...libre.com>
> >
> > Fixes tag? Is there a place in the code that is using a complex
> > expression for val right now?
> >
>
> Not if with what's already in, afaik. However "clk: meson: mpll: add rw
> operation" I sent earlier today uses a ternary operator for val.
> That's how I found this issue. Instead of running the test, it would
> always use the "else" clause.
>
> I realize I should sent these patches in the same series.
> Would you prefer me to do so ?
Sure, but wait a little while for any review comments on the
series first please. For now I'll drop this from my queue because
it isn't an urgent fix and wait for it to come back as part of
the larger series.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists