net/virtio: fix incorrect cast of void *
[dpdk.git] / test / test / test_hash.c
index 2c87efe..4668cf1 100644 (file)
@@ -44,7 +44,6 @@
 #include <rte_cycles.h>
 #include <rte_random.h>
 #include <rte_memory.h>
-#include <rte_memzone.h>
 #include <rte_eal.h>
 #include <rte_ip.h>
 #include <rte_string_fns.h>
@@ -1030,7 +1029,7 @@ static int test_hash_creation_with_bad_parameters(void)
        handle = rte_hash_create(NULL);
        if (handle != NULL) {
                rte_hash_free(handle);
-               printf("Impossible creating hash sucessfully without any parameter\n");
+               printf("Impossible creating hash successfully without any parameter\n");
                return -1;
        }
 
@@ -1040,7 +1039,7 @@ static int test_hash_creation_with_bad_parameters(void)
        handle = rte_hash_create(&params);
        if (handle != NULL) {
                rte_hash_free(handle);
-               printf("Impossible creating hash sucessfully with entries in parameter exceeded\n");
+               printf("Impossible creating hash successfully with entries in parameter exceeded\n");
                return -1;
        }
 
@@ -1050,7 +1049,7 @@ static int test_hash_creation_with_bad_parameters(void)
        handle = rte_hash_create(&params);
        if (handle != NULL) {
                rte_hash_free(handle);
-               printf("Impossible creating hash sucessfully if entries less than bucket_entries in parameter\n");
+               printf("Impossible creating hash successfully if entries less than bucket_entries in parameter\n");
                return -1;
        }
 
@@ -1060,7 +1059,7 @@ static int test_hash_creation_with_bad_parameters(void)
        handle = rte_hash_create(&params);
        if (handle != NULL) {
                rte_hash_free(handle);
-               printf("Impossible creating hash sucessfully if key_len in parameter is zero\n");
+               printf("Impossible creating hash successfully if key_len in parameter is zero\n");
                return -1;
        }
 
@@ -1070,7 +1069,7 @@ static int test_hash_creation_with_bad_parameters(void)
        handle = rte_hash_create(&params);
        if (handle != NULL) {
                rte_hash_free(handle);
-               printf("Impossible creating hash sucessfully with invalid socket\n");
+               printf("Impossible creating hash successfully with invalid socket\n");
                return -1;
        }