]> git.sur5r.net Git - u-boot/commit
itest: add missing break statements to evalexp()
authorStephen Warren <swarren@nvidia.com>
Tue, 17 Nov 2015 17:29:08 +0000 (10:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:29:00 +0000 (15:29 -0500)
commit736d1746fb7b8f7cd70657a4a72db2b6bd8de40e
tree61aaeb0fdbc07508fd5a6c0eb475e4f2d12444b8
parent34a60d9bc88b6b009da6f7ef4d8b70f807eaada4
itest: add missing break statements to evalexp()

The commit mentioned below replaced return statements inside a switch so
that other code could be called after the switch. However, it didn't add
any break statements, causing the cases to run together. Fix this.

Reported-by: Coverity (CID 132282, 132283)
Fixes: 7861204c9af7 ("itest: make memory access work under sandbox")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
common/cmd_itest.c