]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix itest mask overflow
authorSimon Glass <sjg@chromium.org>
Fri, 30 May 2014 20:41:49 +0000 (14:41 -0600)
committerTom Rini <trini@ti.com>
Thu, 5 Jun 2014 18:38:38 +0000 (14:38 -0400)
commitc9bcb6f13d08caa1db13bb8067941340eb3546d8
tree895a63a7bb72bfab0b677463de050615c0c43c20
parent93ce7561cb59809c787c3650d791217d2e395f1d
Fix itest mask overflow

The mask value used in itest overflows and therefore it can return an
incorrect result for something like 'itest 0 == 1'. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_itest.c