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


Groups > linux.kernel > #1347453

Re: [PATCH] clk: ti: Fix some errors found by static checkers

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: ti: Fix some errors found by static checkers
Date 2016-03-02 02:20 +0100
Message-ID <r83Ck-jE-73@gated-at.bofh.it> (permalink)
References <r7XGz-4zK-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Stephen Boyd <sboyd@codeaurora.org> [160301 10:55]:
> drivers/clk/ti/clk-814x.c:34:12: warning: symbol 'dm814x_adpll_early_init' was not declared. Should it be static?
> drivers/clk/ti/clk-814x.c:58:12: warning: symbol 'dm814x_adpll_enable_init_clocks' was not declared. Should it be static?
> drivers/clk/ti/adpll.c:465 ti_adpll_recalc_rate() warn: should '__readw(d->regs + 20) << 18' be a 64 bit type?
> drivers/clk/ti/adpll.c:945 ti_adpll_probe() error: we previously assumed 'd->clocks' could be null (see line 921)
> 
> The last one looks like a real bug because we don't return an
> error on allocation failure.

Yeah nice, that's a real bug:

Tested-by: Tony Lindgren <tony@atomide.com>

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


Thread

[PATCH] clk: ti: Fix some errors found by static checkers Stephen Boyd <sboyd@codeaurora.org> - 2016-03-01 20:00 +0100
  Re: [PATCH] clk: ti: Fix some errors found by static checkers Tony Lindgren <tony@atomide.com> - 2016-03-02 02:20 +0100
    Re: [PATCH] clk: ti: Fix some errors found by static checkers Tero Kristo <t-kristo@ti.com> - 2016-03-02 16:50 +0100

csiph-web