mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tracing: remove definition of DEBUG
@ 2021-01-15 15:33 trix
  2021-01-18 10:33 ` [Nouveau] " Karol Herbst
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2021-01-15 15:33 UTC (permalink / raw)
  To: rostedt, mingo, karolherbst, ppaalanen; +Cc: linux-kernel, nouveau, Tom Rix

From: Tom Rix <trix@redhat.com>

Defining DEBUG should only be done in development.
So remove DEBUG.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 kernel/trace/trace_mmiotrace.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
index 84582bf1ed5f..2c3c31791497 100644
--- a/kernel/trace/trace_mmiotrace.c
+++ b/kernel/trace/trace_mmiotrace.c
@@ -5,8 +5,6 @@
  * Copyright (C) 2008 Pekka Paalanen <pq@iki.fi>
  */
 
-#define DEBUG 1
-
 #include <linux/kernel.h>
 #include <linux/mmiotrace.h>
 #include <linux/pci.h>
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Nouveau] [PATCH] tracing: remove definition of DEBUG
  2021-01-15 15:33 [PATCH] tracing: remove definition of DEBUG trix
@ 2021-01-18 10:33 ` Karol Herbst
  0 siblings, 0 replies; 2+ messages in thread
From: Karol Herbst @ 2021-01-18 10:33 UTC (permalink / raw)
  To: Tom Rix
  Cc: Steven Rostedt, Ingo Molnar, Karol Herbst, Pekka Paalanen, nouveau, LKML

Reviewed-by: Karol Herbst <kherbst@redhat.com>

On Fri, Jan 15, 2021 at 11:51 PM <trix@redhat.com> wrote:
>
> From: Tom Rix <trix@redhat.com>
>
> Defining DEBUG should only be done in development.
> So remove DEBUG.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
>  kernel/trace/trace_mmiotrace.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
> index 84582bf1ed5f..2c3c31791497 100644
> --- a/kernel/trace/trace_mmiotrace.c
> +++ b/kernel/trace/trace_mmiotrace.c
> @@ -5,8 +5,6 @@
>   * Copyright (C) 2008 Pekka Paalanen <pq@iki.fi>
>   */
>
> -#define DEBUG 1
> -
>  #include <linux/kernel.h>
>  #include <linux/mmiotrace.h>
>  #include <linux/pci.h>
> --
> 2.27.0
>
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-18 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 15:33 [PATCH] tracing: remove definition of DEBUG trix
2021-01-18 10:33 ` [Nouveau] " Karol Herbst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®