make dt_binding_check fails in linux-next

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob,

I am trying to run 'make dt_binding_check' in linux-next 20210528 and
I get the error below.

Any suggestions?

Thanks

$ make dt_binding_check
  LINT    Documentation/devicetree/bindings
  CHKDT   Documentation/devicetree/bindings/processed-schema-examples.json
Traceback (most recent call last):
  File "/home/fabio/.local/bin/dt-doc-validate", line 67, in <module>
    ret = check_doc(f)
  File "/home/fabio/.local/bin/dt-doc-validate", line 33, in check_doc
    for error in
sorted(dtschema.DTValidator.iter_schema_errors(testtree), key=lambda
e: e.linecol):
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 723, in iter_schema_errors
    meta_schema = cls.resolver.resolve_from_url(schema['$schema'])
KeyError: '$schema'
  SCHEMA  Documentation/devicetree/bindings/processed-schema-examples.json
Traceback (most recent call last):
  File "/home/fabio/.local/bin/dt-mk-schema", line 38, in <module>
    schemas = dtschema.process_schemas(args.schemas, core_schema=(not
args.useronly))
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 587, in process_schemas
    sch = process_schema(os.path.abspath(filename))
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 568, in process_schema
    DTValidator.check_schema(schema)
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 738, in check_schema
    meta_schema = cls.resolver.resolve_from_url(schema['$schema'])
KeyError: '$schema'
make[1]: *** [Documentation/devicetree/bindings/Makefile:62:
Documentation/devicetree/bindings/processed-schema-examples.json]
Error 1
make[1]: *** Deleting file
'Documentation/devicetree/bindings/processed-schema-examples.json'
make: *** [Makefile:1497: dt_binding_check] Error 2



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux