Spdk/test/unit/lib/bdev/crypto.c
Seth Howell baea123097 crypto: clear g_var in driver init error paths.
It is probably best to clear the pointers to global memory when those
pointers are no longer valid. It also helps make the unittest a little
bit clearer.

Change-Id: I73f9568f40ba8bff63f4e3346c83a48766f26129
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/437991
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-01-09 08:36:40 +00:00
..
.gitignore bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
crypto_ut.c crypto: clear g_var in driver init error paths. 2019-01-09 08:36:40 +00:00
Makefile build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
rte_crypto.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
rte_cryptodev.h ut/crypto: update mocked headers for dpdk 18.08 2018-10-22 18:01:45 +00:00
rte_mbuf.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
rte_mempool.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00