linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM:kernel: a bug by a redundancy charactor ';'
@ 2013-02-16  6:49 Chen Gang
  2013-02-16  8:04 ` Dirk Behme
  0 siblings, 1 reply; 8+ messages in thread
From: Chen Gang @ 2013-02-16  6:49 UTC (permalink / raw)
  To: linux-arm-kernel


  delete the redundancy charactor ';', which will cause issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/arm/kernel/perf_event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c
index 31e0eb3..a892067 100644
--- a/arch/arm/kernel/perf_event.c
+++ b/arch/arm/kernel/perf_event.c
@@ -400,7 +400,7 @@ __hw_perf_event_init(struct perf_event *event)
 	}
 
 	if (event->group_leader != event) {
-		if (validate_group(event) != 0);
+		if (validate_group(event) != 0)
 			return -EINVAL;
 	}
 
-- 
1.7.7.6

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

end of thread, other threads:[~2013-02-17  4:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-16  6:49 [PATCH] ARM:kernel: a bug by a redundancy charactor ';' Chen Gang
2013-02-16  8:04 ` Dirk Behme
2013-02-16  8:38   ` Chen Gang
2013-02-16 12:26     ` Will Deacon
2013-02-16 13:44       ` Dirk Behme
2013-02-17  2:07       ` Chen Gang
2013-02-17  2:09       ` [PATCH] ARM:kernel: a bug for perf by a redundancy character ';' Chen Gang
2013-02-17  4:22         ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).