test: rely on dynamic log level to display hexdumps
[dpdk.git] / test / test / test_interrupts.c
index 5377292..e0cd8a8 100644 (file)
@@ -201,7 +201,7 @@ test_interrupt_handle_compare(struct rte_intr_handle *intr_handle_l,
 static void
 test_interrupt_callback(void *arg)
 {
-       struct rte_intr_handle *intr_handle = (struct rte_intr_handle *)arg;
+       struct rte_intr_handle *intr_handle = arg;
        if (test_intr_type >= TEST_INTERRUPT_HANDLE_MAX) {
                printf("invalid interrupt type\n");
                flag = -1;
@@ -233,7 +233,7 @@ test_interrupt_callback(void *arg)
 static void
 test_interrupt_callback_1(void *arg)
 {
-       struct rte_intr_handle *intr_handle = (struct rte_intr_handle *)arg;
+       struct rte_intr_handle *intr_handle = arg;
        if (test_interrupt_handle_sanity_check(intr_handle) < 0) {
                printf("null or invalid intr_handle for %s\n", __func__);
                flag = -1;
@@ -409,7 +409,7 @@ test_interrupt(void)
 
        printf("Check unknown valid interrupt full path\n");
        if (test_interrupt_full_path_check(TEST_INTERRUPT_HANDLE_VALID) < 0) {
-               printf("failure occured during checking unknown valid "
+               printf("failure occurred during checking unknown valid "
                                                "interrupt full path\n");
                goto out;
        }
@@ -417,7 +417,7 @@ test_interrupt(void)
        printf("Check valid UIO interrupt full path\n");
        if (test_interrupt_full_path_check(TEST_INTERRUPT_HANDLE_VALID_UIO)
                                                                        < 0) {
-               printf("failure occured during checking valid UIO interrupt "
+               printf("failure occurred during checking valid UIO interrupt "
                                                                "full path\n");
                goto out;
        }
@@ -425,7 +425,7 @@ test_interrupt(void)
        printf("Check valid alarm interrupt full path\n");
        if (test_interrupt_full_path_check(TEST_INTERRUPT_HANDLE_VALID_ALARM)
                                                                        < 0) {
-               printf("failure occured during checking valid alarm "
+               printf("failure occurred during checking valid alarm "
                                                "interrupt full path\n");
                goto out;
        }