> Subject: [PATCH v2] app/test: add external mbuf IPsec tests > > Adding IPsec tests using external mbuf API. > > Signed-off-by: Tejasree Kondoj <ktejas...@marvell.com> > --- > v2: > - Fixed compilation with ubuntu-20.04-gcc-static-i386. Please rebase and fix compilation.
In file included from ../app/test/test_cryptodev.c:32: ../app/test/test_cryptodev.c:16331:4: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(const void *)’ [-Werror=incompatible-pointer-types] 16331 | test_ipsec_proto_sgl_ext_mbuf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test.h:130:22: note: in definition of macro ‘TEST_CASE_NAMED_ST’ 130 | { setup, teardown, testcase, NULL, name, 1, NULL } | ^~~~~~~~ ../app/test/test_cryptodev.c:16331:4: note: (near initialization for ‘ipsec_proto_testsuite.unit_test_cases[90].testcase’) 16331 | test_ipsec_proto_sgl_ext_mbuf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test.h:130:22: note: in definition of macro ‘TEST_CASE_NAMED_ST’ 130 | { setup, teardown, testcase, NULL, name, 1, NULL } | ^~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed.