From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 19 Jan 2016 13:08:42 -0500 Subject: [U-Boot] drivers/power/regulator/max77686.c: Don't use switch() on bools In-Reply-To: <1452998677-30803-1-git-send-email-trini@konsulko.com> References: <1452998677-30803-1-git-send-email-trini@konsulko.com> Message-ID: <20160119180842.GV3359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Przemyslaw Marczak > Signed-off-by: Tom Rini > Reviewed-by: Bin Meng > Acked-by: Przemyslaw Marczak 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: