[dpdk-dev] [PATCH 0/5] Use SPDX tags on C files

Hemant Agrawal hemant.agrawal at nxp.com
Wed Dec 20 07:51:21 CET 2017


On 12/19/2017 8:03 PM, Bruce Richardson wrote:
> This contains the output of a script run to replace the BSD License with
> SPDX tags on Intel copyright files. The script should only have modified
> files with a single, Intel copyright on them, and ignored all files that
> had multiple copyright lines. Due to variance in the headers used, not all
> files were updated automatically, 11 files were manually done in this set
> too. Any others missed can be updated in later sets once found.
>

SPDX tag is in 2nd line, first line of files is still "/*-" or it's 
variances.

Linux uses the SPDX in the very first line as it will help in checkpatch 
and other tools.

The proposed licenses/README states:
"DPDK uses first line of the file to be SPDX tag. In case of *#!* 
scripts, SPDX tag can be placed in 2nd line of the file.

Also, do you plan to modify the "dual BSD/GPLv2" in separate patch set? 
e.g icp_qat_fw.h?


> Bruce Richardson (5):
>   app: use SPDX tags for Intel copyright files
>   drivers: use SPDX tags for Intel copyright files
>   examples: use SPDX tags for Intel copyright files
>   lib: use SPDX tags for Intel copyright files
>   test: use SPDX tags for Intel copyright files



More information about the dev mailing list