From: Simon Horman <horms@verge.net.au>
To: weiyj_lk@163.com
Cc: Mike Turquette <mturquette@linaro.org>,
Stephen Boyd <sboyd@codeaurora.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Ulrich Hecht <ulrich.hecht+renesas@gmail.com>,
Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] clk: shmobile: fix sparse NULL pointer warning
Date: Wed, 14 Jan 2015 13:09:10 +0900 [thread overview]
Message-ID: <20150114040910.GC14661@verge.net.au> (raw)
In-Reply-To: <1421198183-17417-1-git-send-email-weiyj_lk@163.com>
On Wed, Jan 14, 2015 at 09:16:23AM +0800, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Fixes the following sparse warnings:
>
> drivers/clk/shmobile/clk-sh73a0.c:57:17: warning:
> Using plain integer as NULL pointer
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> drivers/clk/shmobile/clk-sh73a0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/shmobile/clk-sh73a0.c b/drivers/clk/shmobile/clk-sh73a0.c
> index 8574a6d..cd529cf 100644
> --- a/drivers/clk/shmobile/clk-sh73a0.c
> +++ b/drivers/clk/shmobile/clk-sh73a0.c
> @@ -54,7 +54,7 @@ static struct div4_clk div4_clks[] = {
> { "m2", "pll1", CPG_FRQCRA, 0 },
> { "zx", "pll1", CPG_FRQCRB, 12 },
> { "hp", "pll1", CPG_FRQCRB, 4 },
> - { NULL, 0, 0, 0 },
> + { NULL, NULL, 0, 0 },
> };
>
> static const struct clk_div_table div4_div_table[] = {
>
next prev parent reply other threads:[~2015-01-14 4:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 1:16 weiyj_lk
2015-01-14 4:09 ` Simon Horman [this message]
2015-01-14 4:11 ` Simon Horman
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=20150114040910.GC14661@verge.net.au \
--to=horms@verge.net.au \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=sboyd@codeaurora.org \
--cc=ulrich.hecht+renesas@gmail.com \
--cc=weiyj_lk@163.com \
--cc=yongjun_wei@trendmicro.com.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®