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

Reply via email to