]> git.sur5r.net Git - u-boot/commit
cfi_flash: Add missing braces in blocks
authorMario Six <mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:43 +0000 (14:43 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 06:48:58 +0000 (07:48 +0100)
commit12d7fed9b9ea1ad6646fd4724ccffa27e043f09b
treef87140656a498d2af3d63e9b541826810b1308cb
parent4f89da49e728653fbf4ac5d9b741be4f61496b25
cfi_flash: Add missing braces in blocks

In if/else statements, either both blocks (if and else) should have
braces or both blocks should not have braces, but mixed configurations
are discouraged. Fix all instances where this occurs.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c