commit | fb1d0929557356a0ea238bcb339c9a2d1d921a31 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Sat Apr 30 11:18:35 2022 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Jul 04 16:11:51 2022 +0200 |
tree | 04a518e5232fa2dff72a8546d07476852f9924dd | |
parent | 938eae33722e572769a278c60e8aefb1628014ab [diff] |
tests: ec_host_cmd: Make sure expected_dut_to_host fits in buffer If struct tx_structure is too large than the buffer that expected_dut_to_host references, leading the compiler to generate a warning about the possibility of buffer overflow. Leave out the 'struct ec_response_too_big' so that 'struct tx_structure' fits within the 256 byte buffer. This was caught when using GCC 11.3.0 building the test for native_posix. Signed-off-by: Keith Packard <keithp@keithp.com>