Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689589

Re: [PATCH v2] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call
Date 2017-07-18 03:20 +0200
Message-ID <u4pl7-4e6-1@gated-at.bofh.it> (permalink)
References <u47oe-1fK-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/17, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
> 
> Fixed the signedness bug returning '(-22)' on the return type as u8 with
> removing the sanity checker in clk_cpumux_get_parent() since
> clk_cpumux_set_parent() always ensures validity in clk_cpumux_get_parent()
> got called.
> 
> Fixes: commit 1e17de9049da ("clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work")
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call <sean.wang@mediatek.com> - 2017-07-17 08:10 +0200
  Re: [PATCH v2] clk: mediatek: fixed static checker warning in  clk_cpumux_get_parent call Stephen Boyd <sboyd@codeaurora.org> - 2017-07-18 03:20 +0200

csiph-web