/work/build/batch/arch/powerpc/kernel/ptrace.c: In function 'fpr_get':
/work/build/batch/arch/powerpc/kernel/ptrace.c:378:104: error: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Werror=array-bounds]
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
^
/work/build/batch/arch/powerpc/kernel/ptrace.c: In function 'fpr_set':
/work/build/batch/arch/powerpc/kernel/ptrace.c:406:104: error: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Werror=array-bounds]
BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) !=
^
cc1: all warnings being treated as errors
make[3]: *** [arch/powerpc/kernel/ptrace.o] Error 1
make[3]: Target '__build' not remade because of errors.
Comment 1 by bugdroid1@chromium.org
, Oct 20 2016