[PATCH] ARM:kernel: a bug by a redundancy charactor ';'
Chen Gang
gang.chen at asianux.com
Sat Feb 16 01:49:49 EST 2013
delete the redundancy charactor ';', which will cause issue.
Signed-off-by: Chen Gang <gang.chen at 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
More information about the linux-arm-kernel
mailing list