[dpdk-dev] [PATCH v2] test: fix missing NULL pointer checks
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jan 27 15:42:42 CET 2015
2015-01-27 15:17, Daniel Mrzyglod:
> In test_sched, we are missing NULL pointer checks after calls to create the
> mempool and to allocate an mbuf. Add in these checks using TEST_ASSERT_NOT_NULL macros.
>
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>
[...]
> + TEST_ASSERT_NOT_NULL(mp, "Error create mempool\n");
Asked previously (http://dpdk.org/ml/archives/dev/2014-December/010392.html),
it seems to be a typo: create -> creating
Sorry to insist but I'm not an english native and it seems weird to me.
--
Thomas
More information about the dev
mailing list