+1
−0
Loading
We should add assert here to avoid be divided by zero, that resolve this scanbuild error. Change-Id: I12fa11cdbf0f608995f91759140408303e243357 Signed-off-by:yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454539 Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>