[PATCH] check-spdk: check that tag is on first line

Thomas Monjalon thomas at monjalon.net
Wed Nov 5 23:37:11 CET 2025


05/11/2025 23:28, Stephen Hemminger:
> For C files the tag needs to be on the first line.
> Add a check for that.

Good idea, I didn't think about this script when fixing files.
> -echo "total: $missing_spdx missing SPDX, $wrong_license license errors, $warnings warnings"
> +echo "total: $missing_spdx missing SPDX, $not_first not on first line, $wrong_license license errors, $warnings warnings"

Can we just integrate it in warnings?

By the way, it would be nice that the quiet mode does not print this last line if all is OK.




More information about the dev mailing list