RE: [PATCH 2/4] drm/i915/gt: Fix SPDX license format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI Andi,

> On Tue, Mar 18, 2025 at 10:55:03AM +0000, Krzysztof Karas wrote:
> > > Header files need to declare the SPDX under /* ... */ style
> > All files modified in this patch series start with:
> > // SPDX-License-Identifier: MIT
> > rather than:
> > /* SPDX-License-Identifier: MIT */
> >
> > As a note:
> > :~/linux/drm-tip/drivers/gpu/drm/i915$ rg "// SPDX-License-Identifier:
> > " | wc -l
> > 242
> > :~/linux/drm-tip/drivers/gpu/drm/i915$ rg "/* SPDX-License-Identifier:
> > " | wc -l
> > 696
> >
> > are those styles interchangable or is one preferred over the other? I
> > am just curious seeing both are being used.
> 
> It's an ugly mess that for some reason people have accepted from the beginning.
> The SPDX license has a different format for .c and .h file :/
> 
> Andi

A similar change is required in selftests/mock_timeline.h header also. 

As per https://docs.kernel.org/process/license-rules.html, 
for ASM files also required this style:     /* SPDX-License-Identifier: <SPDX License Expression> */

There are two asm files hsw.asm and ivb.asm under  i915/gt/shaders/clear_kernel.
It will be better if we update the license style in asm files as well.

Regards,
Nitin




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux