armv8: layerscape: fix the function mismatch issue
Subsystems (2)
PATCH v2 1/1 armv8: layerscape: fix the function mismatch issue
From: Yuantian Tang <[email protected]>
---
v2: update copyright year
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +2 -2
@@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014-2015 Freescale Semiconductor - * Copyright 2019 NXP + * Copyright 2019-2022 NXP * * Extracted from armv8/start.S */
@@ -353,7 +353,7 @@ ENTRY(fsl_ocram_clear_ecc_err) ldr x0, =DCSR_DCFG_MBEESR2 str w1, [x0] ret -ENDPROC(fsl_ocram_init) +ENDPROC(fsl_ocram_clear_ecc_err) #endif #ifdef CONFIG_FSL_LSCH3
Signature · 1 line
2.25.1
On Wed, 9 Mar 2022 15:37:22 +0800
[email protected] wrote:
Hi Andy,
Quoted 14 lines
From: Yuantian Tang <[email protected]>
Signed-off-by Yuantian Tang <[email protected]>---
v2: update copyright yeararch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +0
-0
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S line 4
Quoted 5 lines
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +1
-1@@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2014-2015 Freescale Semiconductor - * Copyright 2019 NXP + * Copyright 2019-2022 NXP
That would not be needed.
The common opinion out there(TM) seems to be that the *end* of the copyright period is mostly irrelevant. One rationale is that it would only apply 75 years after the death of the author, whatever that means for "NXP".
But also the copyright statement should only be updated when *significant* changes are made to the file (which are "copyright worthy"). Fixing a bug with a single line is definitely not in that category.
If nothing else, this is just churn and tends to create pointless and annoying merge conflicts.
I know that some projects like TF-A have a different opinion on that. I am trying to teach them for years now ;-)
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S ENTRY(fsl_ocram_clear_ecc_err) · line 356
Quoted 9 lines
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +1
-1* * Extracted from armv8/start.S */@@ -353,7 +353,7 @@ ENTRY(fsl_ocram_clear_ecc_err) ldr x0, =DCSR_DCFG_MBEESR2 str w1, [x0] ret -ENDPROC(fsl_ocram_init) +ENDPROC(fsl_ocram_clear_ecc_err)
That looks correct, so with the copyright change removed:
Cheers,
Andre
Quoted 3 lines
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +0
-0#endif #ifdef CONFIG_FSL_LSCH3