Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The current revision of code upstream in this repository appears to fail to compile with later versions of GCC. Fix them. ``` | build-halfdome/tmp/work/armv7at2hf-vfp-fb-linux-gnueabi/libmctp-intel/1.0+gitAUTOINC+d530c2271e-r1/git/tests/test_astlpc.c:98:26: error: array subscript 2 is above array bounds of 'uint8_t[2]' {aka 'unsigned char[2]'} [-Werror=array-bounds] | 98 | mmio->kcs[reg] = val; | | ~~~~~~~~~^~~~~ | build-halfdome/tmp/work/armv7at2hf-vfp-fb-linux-gnueabi/libmctp-intel/1.0+gitAUTOINC+d530c2271e-r1/git/tests/test_astlpc.c:63:17: note: while referencing 'kcs' | 63 | uint8_t kcs[2]; ``` Submitted upstream at Intel-BMC/libmctp#1 Test Plan: Build passes. Reviewed By: GoldenBug fbshipit-source-id: d48d3c787bccea767d29de8879c72ac93e20961f
- Loading branch information