[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <X+5LAFw7AHvAXJaK@latitude>
Date: Thu, 31 Dec 2020 23:04:48 +0100
From: Jonathan Neuschäfer <j.neuschaefer@....net>
To: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>
Cc: Rob Herring <robh@...nel.org>, linux-kernel@...r.kernel.org
Subject: checkpatch.pl: Bogus case of DT_SPLIT_BINDING_PATCH
Hi,
I've encountered a case where the DT_SPLIT_BINDING_PATCH warning was
emitted even though I didn't change anything outside of Documentation/
devicetree/bindings. I just converted a binding from plain text to YAML.
Here's a transcript of checkpatch (from Linux 5.11-rc1)'s output:
$ scripts/checkpatch.pl --strict patches-wpcm/0001-dt-bindings-arm-Convert-nuvoton-npcm750-binding-to-Y.patch
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#31:
deleted file mode 100644
WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
total: 0 errors, 3 warnings, 0 checks, 21 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
patches-wpcm/0001-dt-bindings-arm-Convert-nuvoton-npcm750-binding-to-Y.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
I attached the patch, for reference.
Best regards,
Jonathan Neuschäfer
View attachment "patch" of type "text/plain" (2406 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists