pre-upload: Update checkpatch.pl to the one included in kernel v3.18
This includes all the updates to checkpatch.pl up to commit
f78d98f6ce66fc7cc0be714d56b0240923a8b4f4, which was the latest commit to
touch that file in upstream v3.18.
Also include new file spelling.txt which is now used by the new release
of the checkpatch.pl script to catch common misspellings.
TEST=Cherry-picked the patch in https://chromium-review.googlesource.com/#/c/300642/
Changed its change-id and tried to repo upload it again.
Without this commit, I got the expected warnings:
WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
WARNING: Avoid CamelCase: <pci_bus_to_OF_node>
With the updated script, I got:
* checkpatch.pl errors/warnings
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 7069 lines checked
Your patch has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Which is the expected result.
Signed-off-by: Filipe Brandenburger <firstname.lastname@example.org>
Reviewed-by: Olof Johansson <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
2 files changed