run2tests: fix more compilation problems

The compiler is too zealous when deciding which addresses are allowed
to be accessed. While it is correct in principal, in some controlled
cases the code indeed needs to calculate addresses which are beyond
the structures boundaries.

This patch modifies the code to placate the compiler.

TEST='make run2tests' inside chroot does not fail to compile and

Change-Id: Iba99714da569a5f28ae95939e93ee1d09da20caa
Signed-off-by: Vadim Bendebury <>
Tested-by: Vadim Bendebury <>
Reviewed-by: Yu-Ping Wu <>
Reviewed-by: Daisuke Nojiri <>
Commit-Queue: Vadim Bendebury <>
2 files changed