From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: fix return value check in bcm2835_init_clocks()
Date: Mon, 08 Oct 2012 20:31:22 -0600 [thread overview]
Message-ID: <50738C7A.9060905@wwwdotorg.org> (raw)
In-Reply-To: <CAPgLHd95ofKiKWC9B67q9mgkjsc6_YJ5x92aY0xKPiohuUMk4Q@mail.gmail.com>
On 10/07/2012 08:02 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> In case of error, the function clk_register_fixed_rate() returns
> ERR_PTR() and never returns NULL. The NULL test in the return value
> check should be replaced with IS_ERR().
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Mike, this driver was added through arm-soc; I assume it's simplest to
take this fixup through there too for 3.7-rc*? If so, Wei, could you
resend this patch with my ack to arm at kernel.org? Thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Warren <swarren@wwwdotorg.org>
To: Wei Yongjun <weiyj.lk@gmail.com>, mturquette@ti.com
Cc: yongjun_wei@trendmicro.com.cn,
linux-arm-kernel@lists.infradead.org,
linux-rpi-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: fix return value check in bcm2835_init_clocks()
Date: Mon, 08 Oct 2012 20:31:22 -0600 [thread overview]
Message-ID: <50738C7A.9060905@wwwdotorg.org> (raw)
In-Reply-To: <CAPgLHd95ofKiKWC9B67q9mgkjsc6_YJ5x92aY0xKPiohuUMk4Q@mail.gmail.com>
On 10/07/2012 08:02 AM, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> In case of error, the function clk_register_fixed_rate() returns
> ERR_PTR() and never returns NULL. The NULL test in the return value
> check should be replaced with IS_ERR().
>
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Mike, this driver was added through arm-soc; I assume it's simplest to
take this fixup through there too for 3.7-rc*? If so, Wei, could you
resend this patch with my ack to arm@kernel.org? Thanks.
next prev parent reply other threads:[~2012-10-09 2:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 14:02 [PATCH] clk: fix return value check in bcm2835_init_clocks() Wei Yongjun
2012-10-07 14:02 ` Wei Yongjun
2012-10-09 2:31 ` Stephen Warren [this message]
2012-10-09 2:31 ` Stephen Warren
2012-10-09 2:44 ` Wei Yongjun
2012-10-09 2:44 ` Wei Yongjun
2012-10-11 1:36 ` Mike Turquette
2012-10-11 1:36 ` Mike Turquette
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=50738C7A.9060905@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.