Skip to contentSkip to conversation

New SPDX-License-Identifier requirement

DISCUSSION Felix Kuehling 3 participants 3 messages May 1, 2018 – May 2, 2018 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I'm getting a checkpatch warning with the latest amdkfd-next branch (4.17-rc2) when adding a new file:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #34: FILE: drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h:1:

I've read Documentation/process/license-rules.rst but I'm unsure what would be the correct license identifier to go with the license header we use in most of our source files. I think it would be one of these:

      // SPDX-License-Identifier: GPL-2.0 OR MIT // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause

Can someone confirm.

Once that's clarified, we should probably add the appropriate license identifier to all our source files.

Thanks,
  Felix

Signature · 13 lines
F e l i x   K u e h l i n g
PMTS Software Development Engineer | Vertical Workstation/Compute
1 Commerce Valley Dr. East, Markham, ON L3T 7X6 Canada
(O) +1(289)695-1597
   _     _   _   _____   _____
  / \   | \ / | |  _  \  \ _  |
 / A \  | \M/ | | |D) )  /|_| |
/_/ \_\ |_| |_| |_____/ |__/ \|   facebook.com/AMD | amd.com

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1203b0d1-5e43-290d-797f-36011301e967-5C7GfCeVMHo@public.gmane.org

#2 lore raw

I believe it should be :
SPDX-License-Identifier: GPL-2.0 OR MIT

But John probably knows best about this
Oded

Quoted 28 lines · Felix Kuehling

Hi,

I'm getting a checkpatch warning with the latest amdkfd-next branch (4.17-rc2) when adding a new file:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #34: FILE: drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h:1:

I've read Documentation/process/license-rules.rst but I'm unsure what would be the correct license identifier to go with the license header we use in most of our source files. I think it would be one of these:

      // SPDX-License-Identifier: GPL-2.0 OR MIT
      // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause

Can someone confirm.

Once that's clarified, we should probably add the appropriate license identifier to all our source files.

Thanks,
Felix

--
F e l i x K u e h l i n g
PMTS Software Development Engineer | Vertical Workstation/Compute 1 Commerce Valley Dr. East, Markham, ON L3T 7X6 Canada
(O) +1(289)695-1597

Quoted 5 lines
   _     _   _   _____   _____
  / \   | \ / | |  _  \  \ _  |
 / A \  | \M/ | | |D) )  /|_| |

/_/ \_\ |_| |_| |_____/ |__/ \| facebook.com/AMD | amd.com

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): CAFCwf12=07j8t57tXxMujiV8KctuSJmxGpX2a8_9hmayK6E7Zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 21 lines · Oded Gabbay

I believe it should be :
SPDX-License-Identifier: GPL-2.0 OR MIT

But John probably knows best about this
Oded

Quoted 14 lines · Felix Kuehling

Hi,

I'm getting a checkpatch warning with the latest amdkfd-next branch (4.17-rc2) when adding a new file:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #34: FILE: drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h:1:

I've read Documentation/process/license-rules.rst but I'm unsure what would be the correct license identifier to go with the license header we use in most of our source files. I think it would be one of these:

      // SPDX-License-Identifier: GPL-2.0 OR MIT
      // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause

FWIW Intel uses MIT only:

SPDX-License-Identifier: MIT

See drivers/gpu/drm/i915/i915_query.c and a couple other i915 files.

Harry

Quoted 19 lines
Quoted 14 lines

Can someone confirm.

Once that's clarified, we should probably add the appropriate license identifier to all our source files.

Thanks,
Felix

--
F e l i x K u e h l i n g
PMTS Software Development Engineer | Vertical Workstation/Compute 1 Commerce Valley Dr. East, Markham, ON L3T 7X6 Canada
(O) +1(289)695-1597

Quoted 5 lines
   _     _   _   _____   _____
  / \   | \ / | |  _  \  \ _  |
 / A \  | \M/ | | |D) )  /|_| |

/_/ \_\ |_| |_| |_____/ |__/ \| facebook.com/AMD | amd.com

Quoted 5 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx