Parent: 67b325c614e5fdac255798fb9280b32e704895e1
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-06-02 22:00:28
Tree: 65ce0c95a8ead5de3b8cce530efe949869f60bd2
mgmt-tester: Fix build error This fixes the following build error: CC tools/mgmt-tester.o tools/mgmt-tester.c: In function ‘setup_command_generic’: tools/mgmt-tester.c:7503:16: error: the comparison will always evaluate as ‘true’ for the pointer operand in ‘(const struct setup_mgmt_cmd *)test->setup_mgmt_cmd_arr + (sizetype)(i * 24)’ must not be NULL [-Werror=address] 7503 | for (; test->setup_mgmt_cmd_arr + i; ++i) { | ^~~~
Diffstat
| M | tools/mgmt-tester.c | | | 30 | +++++++++- - - - - - - - - - - - - - - - - - - - - |
1 files changed, 9 insertions(+), 21 deletions(-)