]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/checkpatch: reject license boilerplate on new files
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 15 May 2025 13:13:13 +0000 (14:13 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 May 2025 10:24:41 +0000 (11:24 +0100)
commit1f59381d6c0126cf0348977caa73ab8f7cfa1269
tree0264a4529bb6ac75e202315db0d77287df5de260
parentb36934063c5550a3fcb1b36027fd1a509142e4f9
scripts/checkpatch: reject license boilerplate on new files

The previous commit mandates use of SPDX-License-Identifier on common
source files, and encourages it on all other files.

Some contributors are none the less still also including the license
boilerplate text. This is redundant and will potentially cause
trouble if inconsistent with the SPDX declaration.

Match common boilerplate text blurbs and report them as invalid,
for newly added files.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/checkpatch.pl