]> git.dujemihanovic.xyz Git - u-boot.git/commit
scripts/checkpatch.pl: Resync with v5.13
authorTom Rini <trini@konsulko.com>
Tue, 3 Aug 2021 12:31:56 +0000 (08:31 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 1 Sep 2021 23:25:37 +0000 (19:25 -0400)
commite199fb35b4a04aa80c5623176c5925ab99bcd6c3
tree068c71053df0f564ef69e9e18f5ed080cd558608
parenteaa6442e4f4883418f595127b5bb12355ca9817d
scripts/checkpatch.pl: Resync with v5.13

This resyncs us with the version found in v5.13 of the Linux kernel with
the following exceptions:
- Keep our u-boot specific tests / code area.
- Change the location of checkpatch.rst (which we now import)
- Drop the "use strscpy" test as we don't have that, but do have strlcpy
  and want that used now.
- Keep debug/printf in the list for $logFunctions

And note that we now also include the spdxcheck.py tool that
checkpatch.pl supports calling out to, and include upstream's
checkpatch.rst in our develop section of the documentation.

Signed-off-by: Tom Rini <trini@konsulko.com>
doc/develop/checkpatch.rst [new file with mode: 0644]
doc/develop/index.rst
scripts/checkpatch.pl
scripts/spdxcheck.py [new file with mode: 0755]