Messages in this thread | | | Date | Wed, 16 Nov 2022 14:14:49 -0600 | From | Rob Herring <> | Subject | Re: [PATCH] dt-bindings: thermal: thermal-idle: Fix example paths |
| |
On Fri, 11 Nov 2022 10:27:29 -0600, Rob Herring wrote: > The reference by path (&{/cpus/cpu@101/thermal-idle}) in the example causes > an error with new version of dtc: > > FATAL ERROR: Can't generate fixup for reference to path &{/cpus/cpu@100/thermal-idle} > > This is because the examples are built as an overlay and absolute paths > are not valid as references must be by label. The path was also not > resolvable because, by default, examples are placed under 'example-N' > nodes. > > As the example contains top-level nodes, the root node must be explicit for > the example to be extracted as-is. This changes the indentation for the > whole example, but the existing indentation is a mess of of random amounts. > Clean this up to be 4 spaces everywhere. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > The dtc update is in my tree, so I'd prefer to take this via the DT > tree. > > .../bindings/thermal/thermal-idle.yaml | 154 +++++++++--------- > 1 file changed, 80 insertions(+), 74 deletions(-) >
Applied, thanks!
| |