+72
−0
Loading
Those functions are exported publicly, so better to add some assert functions to detect some null pointer errors. We do not use if/else check, because it is too heavy. Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: I16814efb84a5a41876657f0caf5f0a6d0c2db8f3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8863 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>