]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: By default don't pass "--no-tree" to checkpatch for linux
authorDouglas Anderson <dianders@chromium.org>
Tue, 19 Jul 2022 21:56:27 +0000 (14:56 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2022 08:30:56 +0000 (02:30 -0600)
commitdce4322c0e1940e11ef9ff086890b8c474707317
tree4002e77775a84c8f7fc886e894583308f770b53c
parent76656bca9e4d7d7093333a1986c6ebb228571ed6
patman: By default don't pass "--no-tree" to checkpatch for linux

When you pass "--no-tree" to checkpatch it disables some extra checks
that are important for Linux. Specifically I want checks like:

  warning: DT compatible string "boogie,woogie" appears un-documented
  check ./Documentation/devicetree/bindings/

Let's make the default for Linux to _not_ pass --no-tree. We'll have a
config option and command line flag to override.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py
tools/patman/control.py
tools/patman/main.py
tools/patman/settings.py