]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/isa-l/crc/crc16_t10dif_perf.c
update sources to v12.1.1
[ceph.git] / ceph / src / isa-l / crc / crc16_t10dif_perf.c
index 5576e6d6231d888e9cc96d0db70b7fe1a14ab381..34f1ddbdfc8be4c61d9617e4e8c31fdca47bf46e 100644 (file)
@@ -72,6 +72,7 @@ int main(int argc, char *argv[])
        printf("Start timed tests\n");
        fflush(0);
 
+       memset(buf, 0, TEST_LEN);
        crc = crc16_t10dif(TEST_SEED, buf, TEST_LEN);
        perf_start(&start);
        for (i = 0; i < TEST_LOOPS; i++) {