From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] drivers/power/regulator/max77686.c: Don't use switch() on bools
Date: Tue, 19 Jan 2016 13:08:42 -0500 [thread overview]
Message-ID: <20160119180842.GV3359@bill-the-cat> (raw)
In-Reply-To: <1452998677-30803-1-git-send-email-trini@konsulko.com>
On Sun, Jan 17, 2016 at 02:44:37AM +0000, Tom Rini wrote:
> With gcc-5.3 we get a warning for using switch() on a bool type.
> Rewrite these sections as if/else and update the one section that was
> using 1/0 instead of true/false.
>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Przemyslaw Marczak <p.marczak@samsung.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Reworded the subject and applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160119/da783e1f/attachment.sig>
prev parent reply other threads:[~2016-01-19 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-17 2:44 [U-Boot] [PATCH] drivers/power/regulator/max77686.c: Don't use switch() on bools Tom Rini
2016-01-18 5:05 ` Bin Meng
2016-01-18 8:16 ` Przemyslaw Marczak
2016-01-18 8:23 ` Michael Trimarchi
2016-01-18 16:40 ` Tom Rini
2016-01-18 16:41 ` Michael Trimarchi
2016-01-19 18:08 ` Tom Rini [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=20160119180842.GV3359@bill-the-cat \
--to=trini@konsulko.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 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.