examples/fips_validation: fix cipher length for AES-GCM
[dpdk.git] / examples / vhost_blk / vhost_blk.c
index 8c57013..e1036bf 100644 (file)
@@ -856,6 +856,7 @@ new_device(int vid)
                                ctrlr->bdev->vid, i,
                                &blk_vq->last_avail_idx,
                                &blk_vq->last_used_idx);
+                       assert(ret == 0);
 
                        blk_vq->avail_wrap_counter = blk_vq->last_avail_idx &
                                (1 << 15);
@@ -1092,4 +1093,3 @@ int main(int argc, char *argv[])
 
        return 0;
 }
-