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

Subsystems: adf7242 ieee 802.15.4 radio driver, ieee 802.15.4 subsystem, networking drivers, the rest

STALE3731d

3 messages, 3 authors, 2016-05-19 · open the first message on its own page

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

From: Heinrich Schuchardt <hidden>
Date: 2016-05-17 21:59:00

If DEBUG is defined, a superfluous closing brace
is introduced.

Signed-off-by: Heinrich Schuchardt <redacted>
---
 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

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

From: Michael Hennerich <michael.hennerich@analog.com>
Date: 2016-05-18 06:44:03

On 05/17/2016 11:58 PM, Heinrich Schuchardt wrote:
If DEBUG is defined, a superfluous closing brace
is introduced.

Signed-off-by: Heinrich Schuchardt <redacted>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
quoted hunk
---
  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
  }

-- 
Greetings,
Michael

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

From: David Miller <davem@davemloft.net>
Date: 2016-05-19 18:31:26

From: Heinrich Schuchardt <redacted>
Date: Tue, 17 May 2016 23:58:40 +0200
If DEBUG is defined, a superfluous closing brace
is introduced.

Signed-off-by: Heinrich Schuchardt <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help