board/arcturus/ppc-ucp1020: add patch to fix build with gcc 6.x.
authorOleksandr G Zhadan <oleks@arcturusnetworks.com>
Thu, 13 Jul 2017 16:38:17 +0000 (12:38 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Jul 2017 08:14:59 +0000 (10:14 +0200)
commit0aa8612dc4bf76c9f0a58d17ee0ac68b583c0838
tree83e072bab1052f540b90b86b807fa0824e1c1748
parent972e55b7db7947ee6c7ce5c0e5ac486df29b7710
board/arcturus/ppc-ucp1020: add patch to fix build with gcc 6.x.

This commit adds a Linux kernel patch to solve a build failure with
the arcturus_ucp1020_defconfig with gcc 6.x:

arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Warray-bounds]
        offsetof(struct thread_fp_state, fpr[32][0]));
                        ^

The patch is upstream in Linux, and can be dropped when
arcturus_ucp1020_defconfig is updated to use a new Linux kernel
version.

Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/arcturus/ppc-ucp1020/patches/linux/0003-powerpc-ptrace-Fix-out-of-bounds-array-access-warning.patch [new file with mode: 0644]