dma-debug: fix return value of __setup handlers
[platform/kernel/linux-rpi.git] / kernel / dma / debug.c
index 7a14ca2..f8ff598 100644 (file)
@@ -927,7 +927,7 @@ static __init int dma_debug_cmdline(char *str)
                global_disable = true;
        }
 
-       return 0;
+       return 1;
 }
 
 static __init int dma_debug_entries_cmdline(char *str)
@@ -936,7 +936,7 @@ static __init int dma_debug_entries_cmdline(char *str)
                return -EINVAL;
        if (!get_option(&str, &nr_prealloc_entries))
                nr_prealloc_entries = PREALLOC_DMA_DEBUG_ENTRIES;
-       return 0;
+       return 1;
 }
 
 __setup("dma_debug=", dma_debug_cmdline);