Skip to contentSkip to conversation

Removing duplicate copyright text

PATCH In review Marcelo Mendes Spessoto Junior 2 participants 4 messages Dec 26, 2023 – Dec 27, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removing duplicate copyright text

The file display/modules/inc/mod_freesync.h has two identical AMD Copyright texts. This simple patch aims to remove the duplicate one.

---
 .../amd/display/modules/inc/mod_freesync.h    | 28 -------------------
 1 file changed, 28 deletions(-)
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -28
index afe1f6cce..cc3dc9b58 100644
@@ -1,31 +1,3 @@
-/*
- * Copyright 2016 Advanced Micro Devices, Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * Authors: AMD
- *
- */
-
-
-
-
 /*
  * Copyright 2016 Advanced Micro Devices, Inc.
  *
Signature · 1 line
2.39.2
#1 lore raw
Quoted 4 lines · Marcelo Mendes Spessoto Junior

The file display/modules/inc/mod_freesync.h has two identical AMD Copyright texts. This simple patch aims to remove the duplicate one.

Hi Marcelo,

The patch subject should have a subsystem prefix (e.g. the full subject should have been "[PATCH] drm/amdgpu: mod_freesync: Remove duplicate copyright boilerplate").

For patch description, I'd like to write it as "mod_freesync header file has duplicated copyright boilerplate. Drop the duplicate". And make sure that your Signed-off-by: trailer is on the bottom of description, before triple dashes (git commit -s does it for you).

Quoted 31 lines
---
 .../amd/display/modules/inc/mod_freesync.h    | 28 -------------------
 1 file changed, 28 deletions(-)
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -21
index afe1f6cce..cc3dc9b58 100644
@@ -1,31 +1,3 @@
-/*
- * Copyright 2016 Advanced Micro Devices, Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 3

Quoted 10 lines
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -7
- * Authors: AMD
- *
- */
-
-
-
-
 /*
  * Copyright 2016 Advanced Micro Devices, Inc.
  *

The diff itself LGTM.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw

Hello Bagas,

I'm sorry for that. I will send another mail of this patch with your recommendations.

Em ter., 26 de dez. de 2023 23:30, Bagas Sanjaya <[email protected]> escreveu:

Quoted 78 lines
Quoted 1 line · Marcelo Mendes Spessoto Junior
Signed-off-by Marcelo Mendes Spessoto Junior <

[email protected]>

Quoted 3 lines

The file display/modules/inc/mod_freesync.h has two identical AMD Copyright texts. This simple patch aims to remove the duplicate one.

Hi Marcelo,

The patch subject should have a subsystem prefix (e.g. the full subject should have been "[PATCH] drm/amdgpu: mod_freesync: Remove duplicate copyright boilerplate").

For patch description, I'd like to write it as "mod_freesync header file has duplicated copyright boilerplate. Drop the duplicate". And make sure that your Signed-off-by: trailer is on the bottom of description, before triple dashes (git commit -s does it for you).

Review

Quoted 6 lines
---
 .../amd/display/modules/inc/mod_freesync.h    | 28 -------------------
 1 file changed, 28 deletions(-)
(quoted diff) +0 -0

b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 4

Quoted 8 lines

index afe1f6cce..cc3dc9b58 100644

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -4
@@ -1,31 +1,3 @@
-/*
- * Copyright 2016 Advanced Micro Devices, Inc.
- *
- * Permission is hereby granted, free of charge, to any person

obtaining a

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 5

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * copy of this software and associated documentation files (the

"Software"),

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 6

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * to deal in the Software without restriction, including without

limitation

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 7

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * the rights to use, copy, modify, merge, publish, distribute,

sublicense,

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h

Quoted 4 lines
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -4
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be

included in

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h

Quoted 3 lines
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -3
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,

EXPRESS OR

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 15

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

MERCHANTABILITY,

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 16

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT

SHALL

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 17

Quoted 1 line
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -1
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM,

DAMAGES OR

Quoted 4 lines
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -4
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *

drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h line 3

Quoted 10 lines
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +0 -7
- * Authors: AMD
- *
- */
-
-
-
-
 /*
  * Copyright 2016 Advanced Micro Devices, Inc.
  *

The diff itself LGTM.

Thanks.

--
An old man doll... just what I always wanted! - Clara

#3 lore raw
Quoted 5 lines · Marcelo Mendes

Hello Bagas,

I'm sorry for that. I will send another mail of this patch with your recommendations.

Please don't top-post; reply inline with appropriate context instead. And don't send HTML emails as mailing lists don't like such.

When sending v2 (aka rerolling), mark it as such when generating patches by passing -v 2 to git-format-patch(1). And don't be rushed to send the reroll; wait at least a day to allow reviewers to review before reroll. If there are any comments from them, you should address them too.

See you in v2!

Signature · 1 line
An old man doll... just what I always wanted! - Clara