[PATCH 1/1] Cell RAS: Remove DEBUG, and add license and copyright

Subsystems: cell broadband engine architecture, linux for powerpc (32-bit and 64-bit), the rest

STALE6761d

2 messages, 2 authors, 2008-03-03 · open the first message on its own page

[PATCH 1/1] Cell RAS: Remove DEBUG, and add license and copyright

From: Michael Ellerman <hidden>
Date: 2008-02-14 02:34:17

arch/powerpc/platforms/cell/ras.c still has DEBUG #defined, which is no
longer neccessary. Disable it, this disables to pr_debugs().

While we're there this file should have a copyright notice and license,
so add both.

Signed-off-by: Michael Ellerman <redacted>
---
 arch/powerpc/platforms/cell/ras.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/cell/ras.c b/arch/powerpc/platforms/cell/ras.c
index b2494eb..e43024c 100644
--- a/arch/powerpc/platforms/cell/ras.c
+++ b/arch/powerpc/platforms/cell/ras.c
@@ -1,4 +1,13 @@
-#define DEBUG
+/*
+ * Copyright 2006-2008, IBM Corporation.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+#undef DEBUG
 
 #include <linux/types.h>
 #include <linux/kernel.h>
-- 
1.5.2.rc1.1884.g59b20

Re: [Cbe-oss-dev] [PATCH 1/1] Cell RAS: Remove DEBUG, and add license and copyright

From: Christoph Hellwig <hch@lst.de>
Date: 2008-03-03 04:18:56

On Thu, Feb 14, 2008 at 01:34:17PM +1100, Michael Ellerman wrote:
arch/powerpc/platforms/cell/ras.c still has DEBUG #defined, which is no
longer neccessary. Disable it, this disables to pr_debugs().
No need to undef it, it's undefined by default.  Otherwise the patch
looks fine to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help