From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] PMIC: MAX77686: fix invalid bus check
Date: Mon, 23 Jun 2014 17:43:20 +0900 [thread overview]
Message-ID: <53A7E8A8.60301@samsung.com> (raw)
In-Reply-To: <1403122432-14479-1-git-send-email-jeroen@myspectrum.nl>
On 19/06/14 05:13, Jeroen Hofstee wrote:
> Since p->bus is unsigned checking for negative values
> is optimized away. Since bus is already used as an argument
> use tmp. While at it, don't declare variables in the middle
> of a function.
>
> cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
> ---
> drivers/power/pmic/pmic_max77686.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
prev parent reply other threads:[~2014-06-23 8:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 20:13 [U-Boot] [PATCH] PMIC: MAX77686: fix invalid bus check Jeroen Hofstee
2014-06-23 8:43 ` Minkyu Kang [this message]
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=53A7E8A8.60301@samsung.com \
--to=mk7.kang@samsung.com \
--cc=u-boot@lists.denx.de \
/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