From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 29 Aug 2016 11:38:09 -0700 From: Stephen Boyd To: Linus Walleij Cc: Michael Turquette , linux-clk , Russell King Subject: Re: [PATCH 3/3 v3] clk: versatile/icst: support for AP baseboard clocks Message-ID: <20160829183809.GE19826@codeaurora.org> References: <1472299279-27560-1-git-send-email-linus.walleij@linaro.org> <20160829174940.GC19826@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: List-ID: On 08/29, Linus Walleij wrote: > On Mon, Aug 29, 2016 at 7:49 PM, Stephen Boyd wrote: > > On 08/27, Linus Walleij wrote: > >> @@ -143,6 +180,16 @@ static int vco_set(struct clk_icst *icst, struct icst_vco vco) > >> if (vco.r != 22) > >> pr_err("ICST error: tried to use RDW != 22\n"); > >> break; > >> + case ICST_INTEGRATOR_AP_SYS: > >> + mask = INTEGRATOR_AP_SYS_BITS; > >> + val |= vco.v & 0xFF; > > > > drivers/clk/versatile/clk-icst.c: In function ‘icst_set_rate’: > > drivers/clk/versatile/clk-icst.c:185:7: warning: ‘val’ may be used uninitialized in this function [-Wuninitialized] > > drivers/clk/versatile/clk-icst.c:168:6: note: ‘val’ was declared here > > > > > > I assume it should just be val = instead? > > Yeah :/ > > My biggest worry right now is why I'm not seeing these warnings. > > I'll figure out how to get them and fix it. Ok I squashed in that fix and merged into clk-next. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project