[U-Boot] [PATCH v1] cmd: itest: correct calculus for long format

Simon Glass sjg at chromium.org
Fri Feb 10 18:38:53 UTC 2017


On 10 February 2017 at 05:59, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> From: Sebastien Colleur <sebastienx.colleur at intel.com>
>
> itest shell command doesn't work correctly in long format when
> doing comparaison due to wrong mask value calculus that overflow
> on 32 bits values.
>
> Signed-off-by: Sebastien Colleur <sebastienx.colleur at intel.com>
> ---
>  cmd/itest.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Seems reasonable to me.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list