+2
−2
Loading
The caller function needs to judge whether the buf is allocated. Putting assert here is easy for debugging, but not be friendly for real use. Change-Id: I3c8e66bc95cbd2f9bc87f26335f249c32e339da4 Signed-off-by:Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448697 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>