data_offset to spdk_dif_generate_stream() was wrong but the function worked as expected because the wrong data_offset was in the same data block as the correct data_offset. But the subsequent patches will refine spdk_dif_generate_stream() and this bug will cause UT failure. Hence fix the bug up front. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I45f2302deaf377fda0ec5454c61fb463231a39db Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457538 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
dif_ut.c | ||
Makefile |