[Nouveau] [PATCH v2] x86 : remove definition of DEBUG

Steven Rostedt rostedt at goodmis.org
Thu Jan 14 21:43:32 UTC 2021


On Thu, 14 Jan 2021 13:28:27 -0800
trix at redhat.com wrote:

> diff --git a/arch/x86/mm/mmio-mod.c b/arch/x86/mm/mmio-mod.c
> index bd7aff5c51f7..cd768dafca9e 100644
> --- a/arch/x86/mm/mmio-mod.c
> +++ b/arch/x86/mm/mmio-mod.c
> @@ -10,8 +10,6 @@
>  
>  #define pr_fmt(fmt) "mmiotrace: " fmt
>  
> -#define DEBUG 1

Seems to only be used for printing the pr_debug() functions.

> -
>  #include <linux/moduleparam.h>
>  #include <linux/debugfs.h>
>  #include <linux/slab.h>

Acked-by: Steven Rostedt (VMware) <rostedt at goodmis.org>

-- Steve


More information about the Nouveau mailing list