* [PATCH 1/1] arm: perf: Fix build error
@ 2014-07-02 9:06 Sachin Kamat
2014-07-02 9:21 ` Will Deacon
2014-07-02 9:22 ` Mark Rutland
0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2014-07-02 9:06 UTC (permalink / raw)
To: linux-arm-kernel
Add missing semicolon to fix the following build errors introduced by
commit 6f73e8ababdd ("arm: perf: clean up PMU names"):
arch/arm/kernel/perf_event_v6.c:498:2: error: expected ?;? before ?return?
arch/arm/kernel/perf_event_v6.c:505:2: error: expected ?;? before ?return?
arch/arm/kernel/perf_event_v6.c:512:2: error: expected ?;? before ?return?
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
---
arch/arm/kernel/perf_event_v6.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/kernel/perf_event_v6.c b/arch/arm/kernel/perf_event_v6.c
index 62227d11e874..abfeb04f3213 100644
--- a/arch/arm/kernel/perf_event_v6.c
+++ b/arch/arm/kernel/perf_event_v6.c
@@ -494,21 +494,21 @@ static void armv6pmu_init(struct arm_pmu *cpu_pmu)
static int armv6_1136_pmu_init(struct arm_pmu *cpu_pmu)
{
armv6pmu_init(cpu_pmu);
- cpu_pmu->name = "armv6_1136"
+ cpu_pmu->name = "armv6_1136";
return 0;
}
static int armv6_1156_pmu_init(struct arm_pmu *cpu_pmu)
{
armv6pmu_init(cpu_pmu);
- cpu_pmu->name = "armv6_1156"
+ cpu_pmu->name = "armv6_1156";
return 0;
}
static int armv6_1176_pmu_init(struct arm_pmu *cpu_pmu)
{
armv6pmu_init(cpu_pmu);
- cpu_pmu->name = "armv6_1176"
+ cpu_pmu->name = "armv6_1176";
return 0;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/1] arm: perf: Fix build error
2014-07-02 9:06 [PATCH 1/1] arm: perf: Fix build error Sachin Kamat
@ 2014-07-02 9:21 ` Will Deacon
2014-07-02 9:22 ` Mark Rutland
1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2014-07-02 9:21 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sachin,
On Wed, Jul 02, 2014 at 10:06:16AM +0100, Sachin Kamat wrote:
> Add missing semicolon to fix the following build errors introduced by
> commit 6f73e8ababdd ("arm: perf: clean up PMU names"):
> arch/arm/kernel/perf_event_v6.c:498:2: error: expected ?;? before ?return?
> arch/arm/kernel/perf_event_v6.c:505:2: error: expected ?;? before ?return?
> arch/arm/kernel/perf_event_v6.c:512:2: error: expected ?;? before ?return?
>
> Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
Thanks for this, I'll fold it in with the original patch.
Mark: can you test this on v6 please, preferably with Vince's fuzzer?
Will
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] arm: perf: Fix build error
2014-07-02 9:06 [PATCH 1/1] arm: perf: Fix build error Sachin Kamat
2014-07-02 9:21 ` Will Deacon
@ 2014-07-02 9:22 ` Mark Rutland
1 sibling, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2014-07-02 9:22 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sachin,
Thanks for reporting the issue.
As it may not be obvious to others from the commit message alone, this
is a breakage in linux-next, not mainline.
On Wed, Jul 02, 2014 at 10:06:16AM +0100, Sachin Kamat wrote:
> Add missing semicolon to fix the following build errors introduced by
> commit 6f73e8ababdd ("arm: perf: clean up PMU names"):
> arch/arm/kernel/perf_event_v6.c:498:2: error: expected ?;? before ?return?
> arch/arm/kernel/perf_event_v6.c:505:2: error: expected ?;? before ?return?
> arch/arm/kernel/perf_event_v6.c:512:2: error: expected ?;? before ?return?
This was a fairly obvious bug on my behalf, apologies for that. I must
have messed that up while rebasing the series.
I'll fix up the relevant commit and give the series another round of
testing.
Thanks,
Mark.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> ---
> arch/arm/kernel/perf_event_v6.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/kernel/perf_event_v6.c b/arch/arm/kernel/perf_event_v6.c
> index 62227d11e874..abfeb04f3213 100644
> --- a/arch/arm/kernel/perf_event_v6.c
> +++ b/arch/arm/kernel/perf_event_v6.c
> @@ -494,21 +494,21 @@ static void armv6pmu_init(struct arm_pmu *cpu_pmu)
> static int armv6_1136_pmu_init(struct arm_pmu *cpu_pmu)
> {
> armv6pmu_init(cpu_pmu);
> - cpu_pmu->name = "armv6_1136"
> + cpu_pmu->name = "armv6_1136";
> return 0;
> }
>
> static int armv6_1156_pmu_init(struct arm_pmu *cpu_pmu)
> {
> armv6pmu_init(cpu_pmu);
> - cpu_pmu->name = "armv6_1156"
> + cpu_pmu->name = "armv6_1156";
> return 0;
> }
>
> static int armv6_1176_pmu_init(struct arm_pmu *cpu_pmu)
> {
> armv6pmu_init(cpu_pmu);
> - cpu_pmu->name = "armv6_1176"
> + cpu_pmu->name = "armv6_1176";
> return 0;
> }
>
> --
> 1.7.9.5
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-02 9:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 9:06 [PATCH 1/1] arm: perf: Fix build error Sachin Kamat
2014-07-02 9:21 ` Will Deacon
2014-07-02 9:22 ` Mark Rutland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox