Skip to contentSkip to conversation

clocksource: timer-imx-gpt: Remove outdated file path

PATCH In review Fabio Estevam 3 participants 8 messages May 22, 2018 – May 29, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/4 clocksource: timer-imx-gpt: Remove outdated file path

From: Fabio Estevam <[email protected]>

imx gpt timer driver has been moved from arch/arm/mach-imx to drivers/clocksource/ a long time ago, so remove the reference to the old file path.

---
 drivers/clocksource/timer-imx-gpt.c | 2 --
 1 file changed, 2 deletions(-)
drivers/clocksource/timer-imx-gpt.c +0 -2
index 6ec6d79..b63b834 100644
@@ -1,6 +1,4 @@
 /*
- *  linux/arch/arm/plat-mxc/time.c
- *
  *  Copyright (C) 2000-2001 Deep Blue Solutions
  *  Copyright (C) 2002 Shane Nay ([email protected])
  *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
Signature · 1 line
2.7.4
author reviewer
#1 lore raw

PATCH 2/4 clocksource: timer-imx-gpt: Switch to SPDX identifier

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-gpt.c | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
drivers/clocksource/timer-imx-gpt.c +6 -20
index b63b834..165fbbb 100644
@@ -1,23 +1,9 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])
 
 #include <linux/interrupt.h>
 #include <linux/irq.h>
Signature · 1 line
2.7.4
#2 lore raw

Re: [PATCH 2/4] clocksource: timer-imx-gpt: Switch to SPDX identifier

Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-gpt.c | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
drivers/clocksource/timer-imx-gpt.c +0 -16
index b63b834..165fbbb 100644
@@ -1,23 +1,9 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License

drivers/clocksource/timer-imx-gpt.c line 6

Quoted 10 lines
drivers/clocksource/timer-imx-gpt.c +6 -4
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])

Hi Philippe,

I went through the code and didn't find any information about the format of the lines following the SPDX, it seems it is relatively free.

Can you confirm the above changes are ok ?

Thanks

-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
author reviewer
#3 lore raw

Re: [PATCH 2/4] clocksource: timer-imx-gpt: Switch to SPDX identifier

Hi Daniel,

Quoted 45 lines · Daniel Lezcano
Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-gpt.c | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
drivers/clocksource/timer-imx-gpt.c +0 -16
index b63b834..165fbbb 100644
@@ -1,23 +1,9 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License

drivers/clocksource/timer-imx-gpt.c line 6

Quoted 10 lines
drivers/clocksource/timer-imx-gpt.c +6 -4
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])

Hi Philippe,

Quoted 4 lines

I went through the code and didn't find any information about the format of the lines following the SPDX, it seems it is relatively free.

Can you confirm the above changes are ok ?

Putting everything as // is Linus' preferred style:
https://lkml.org/lkml/2017/11/25/133

Regards,

Fabio Estevam

#4 lore raw

Re: [PATCH 2/4] clocksource: timer-imx-gpt: Switch to SPDX identifier

Quoted 49 lines · Fabio Estevam

Hi Daniel,

Quoted 45 lines · Daniel Lezcano
Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-gpt.c | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
drivers/clocksource/timer-imx-gpt.c +0 -16
index b63b834..165fbbb 100644
@@ -1,23 +1,9 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License

drivers/clocksource/timer-imx-gpt.c line 6

Quoted 10 lines
drivers/clocksource/timer-imx-gpt.c +6 -4
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])

Hi Philippe,

Quoted 7 lines
Quoted 4 lines

I went through the code and didn't find any information about the format of the lines following the SPDX, it seems it is relatively free.

Can you confirm the above changes are ok ?

Putting everything as // is Linus' preferred style:
https://lkml.org/lkml/2017/11/25/133

Ok, good. Thanks for the pointer.

I've applied the patches for 4.18.

-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#5 lore raw

Re: [PATCH 2/4] clocksource: timer-imx-gpt: Switch to SPDX identifier

In reply to Daniel Lezcano

Hi Daniel,

Quoted 45 lines · Daniel Lezcano
Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-gpt.c | 26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)
drivers/clocksource/timer-imx-gpt.c +0 -16
index b63b834..165fbbb 100644
@@ -1,23 +1,9 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License

drivers/clocksource/timer-imx-gpt.c line 6

Quoted 10 lines
drivers/clocksource/timer-imx-gpt.c +6 -4
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])

Hi Philippe,

Quoted 4 lines

I went through the code and didn't find any information about the format of the lines following the SPDX, it seems it is relatively free.

Can you confirm the above changes are ok ?

This looks fine to me especially if this all you have in terms of top level comment. (e.g. license then copyrights)
Some may not agree with me on using C++ style comments beyond the SPDX license line though ;)

Signature · 2 lines
Cordially
Philippe Ombredanne
author reviewer
#6 lore raw

PATCH 3/4 clocksource: timer-imx-tpm: Switch to SPDX identifier

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/timer-imx-tpm.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
drivers/clocksource/timer-imx-tpm.c +4 -9
index 6c83184..b7aa2b8 100644
@@ -1,12 +1,7 @@
-/*
- * Copyright 2016 Freescale Semiconductor, Inc.
- * Copyright 2017 NXP
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Copyright 2016 Freescale Semiconductor, Inc.
+// Copyright 2017 NXP
 
 #include <linux/clk.h>
 #include <linux/clockchips.h>
Signature · 1 line
2.7.4
author reviewer
#7 lore raw

PATCH 4/4 clocksource: mxs_timer: Switch to SPDX identifier

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/clocksource/mxs_timer.c | 28 +++++++---------------------
 1 file changed, 7 insertions(+), 21 deletions(-)
drivers/clocksource/mxs_timer.c +7 -21
index a03434e..f6ddae3 100644
@@ -1,24 +1,10 @@
-/*
- *  Copyright (C) 2000-2001 Deep Blue Solutions
- *  Copyright (C) 2002 Shane Nay ([email protected])
- *  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
- *  Copyright (C) 2008 Juergen Beisert ([email protected])
- *  Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+//  Copyright (C) 2000-2001 Deep Blue Solutions
+//  Copyright (C) 2002 Shane Nay ([email protected])
+//  Copyright (C) 2006-2007 Pavel Pisa ([email protected])
+//  Copyright (C) 2008 Juergen Beisert ([email protected])
+//  Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
 
 #include <linux/err.h>
 #include <linux/interrupt.h>
Signature · 1 line
2.7.4