[PATCH] checkpatch: add DT compatible string documentation checks

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 28 01:34:32 PDT 2015


Hi Antony,

On Wed, Apr 22, 2015 at 11:39:18PM +0300, Antony Pavlov wrote:
> This adds a simple check that any compatible strings in DeviceTree dts
> files are present in Documentation/devicetree/bindings and
> in dts/Bindings/.
> 
> Vendor prefixes are also checked for existing in vendor-prefixes.txt.
> 
> This code is based on linux v4.0-rc6 checkpatch.pl dt-checking code by
> Rob Herring & Florian Vaussard:
> 
>     Rob Herring (2):
>         checkpatch: add DT compatible string documentation checks
>         checkpatch: fix wildcard DT compatible string checking
> 
>     Florian Vaussard (3):
>         checkpatch: fix spurious vendor compatible warnings
>         checkpatch: check compatible strings in .c and .h too
>         checkpatch: improve the compatible vendor match

Sorry for the delay. The reason I haven't written you back is that I was
unsure if we want to have the compatible checks in barebox. I now think
it's good to have them, so I merged this patch.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list