Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402619 > unrolled thread

[PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG

Started byHeinrich Schuchardt <xypron.glpk@gmx.de>
First post2016-05-18 00:00 +0200
Last post2016-05-19 20:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG Heinrich Schuchardt <xypron.glpk@gmx.de> - 2016-05-18 00:00 +0200
    Re: [PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG David Miller <davem@davemloft.net> - 2016-05-19 20:40 +0200

#1402619 — [PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG

FromHeinrich Schuchardt <xypron.glpk@gmx.de>
Date2016-05-18 00:00 +0200
Subject[PATCH 1/1] net: ieee802154/adf7242: syntax error ifdef DEBUG
Message-ID<rzVbY-1Ac-21@gated-at.bofh.it>
If DEBUG is defined, a superfluous closing brace
is introduced.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/net/ieee802154/adf7242.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index b82e39d..9fa7ac9 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c
@@ -915,7 +915,6 @@ static void adf7242_debug(u8 irq1)
 		(stat & 0xf) == RC_STATUS_PHY_RDY ? "RC_STATUS_PHY_RDY" : "",
 		(stat & 0xf) == RC_STATUS_RX ? "RC_STATUS_RX" : "",
 		(stat & 0xf) == RC_STATUS_TX ? "RC_STATUS_TX" : "");
-	}
 #endif
 }
 
-- 
2.1.4

[toc] | [next] | [standalone]


#1403923

FromDavid Miller <davem@davemloft.net>
Date2016-05-19 20:40 +0200
Message-ID<rAB1x-3od-29@gated-at.bofh.it>
In reply to#1402619
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Tue, 17 May 2016 23:58:40 +0200

> If DEBUG is defined, a superfluous closing brace
> is introduced.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web