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
Signed-off-by: Vadim Bendebury <firstname.lastname@example.org>
Tested-by: Vadim Bendebury <email@example.com>
Reviewed-by: Yu-Ping Wu <firstname.lastname@example.org>
Reviewed-by: Daisuke Nojiri <email@example.com>
Commit-Queue: Vadim Bendebury <firstname.lastname@example.org>
2 files changed