[4/5] ARC: perf: fix description comment

Message ID 20181205170609.18690-5-Eugeniy.Paltsev@synopsys.com
State New
Headers show
Series
  • introduce Kernel PMU events support
Related show

Commit Message

Eugeniy Paltsev Dec. 5, 2018, 5:06 p.m.
Fix description comment as this code doesn't belong only to
ARC700 anymore.

Also while I'm at it, use SPDX License Identifier.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
---
 arch/arc/kernel/perf_event.c | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Comments

Vineet Gupta Dec. 5, 2018, 5:13 p.m. | #1
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote:
> Fix description comment as this code doesn't belong only to
> ARC700 anymore.
>
> Also while I'm at it, use SPDX License Identifier.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>

Maybe squash this into trivial cleanups 1/5 ?

Acked-by: Vineet Gupta <vgupta@synopsys.com>

Thx,
-Vineet
Eugeniy Paltsev Dec. 6, 2018, 3:49 p.m. | #2
On Wed, 2018-12-05 at 17:13 +0000, Vineet Gupta wrote:
> On 12/5/18 9:06 AM, Eugeniy Paltsev wrote:
> > Fix description comment as this code doesn't belong only to
> > ARC700 anymore.
> > 
> > Also while I'm at it, use SPDX License Identifier.
> > 
> > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> 
> Maybe squash this into trivial cleanups 1/5 ?

I split cleanup for several patches to make review easier.
I can squash them into single patch in v2 if you want it.


> Acked-by: Vineet Gupta <vgupta@synopsys.com>
> 
> Thx,
> -Vineet
Vineet Gupta Dec. 6, 2018, 4:33 p.m. | #3
On 12/6/18 7:49 AM, Eugeniy Paltsev wrote:
>> Maybe squash this into trivial cleanups 1/5 ?
> I split cleanup for several patches to make review easier.
> I can squash them into single patch in v2 if you want it.
>
>

Understand, but they are all trivial anyways so yeah better to squash - I can do
it here as well. Lets wait for PeterZ to comment on 2/5 before v2.

-Vineet

Patch

diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c
index 8c88837fcd83..b6207090aaa7 100644
--- a/arch/arc/kernel/perf_event.c
+++ b/arch/arc/kernel/perf_event.c
@@ -1,15 +1,10 @@ 
-/*
- * Linux performance counter support for ARC700 series
- *
- * Copyright (C) 2013-2015 Synopsys, Inc. (www.synopsys.com)
- *
- * This code is inspired by the perf support of various other architectures.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Linux performance counter support for ARC CPUs.
+// This code is inspired by the perf support of various other architectures.
+//
+// Copyright (C) 2013-2018 Synopsys, Inc. (www.synopsys.com)
+
 #include <linux/errno.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>