lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220114165017.GA2035@standask-GA-A55M-S2HP>
Date:   Fri, 14 Jan 2022 17:50:17 +0100
From:   Stanislav Jakubek <stano.jakubek@...il.com>
To:     Rob Herring <robh@...nel.org>
Cc:     devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] dt-bindings: trivial-devices: fix comment indentation

On Fri, Jan 14, 2022 at 09:21:52AM -0600, Rob Herring wrote:
> On Thu, Jan 13, 2022 at 02:39:40PM +0100, Stanislav Jakubek wrote:
> > Indent comments the same as the content they describe.
> > Fixes yamllint warnings like:
> > 32:13     warning  comment not indented like content  (comments-indentation)
> 
> But that's not a warning we enable or is this something new in newer 
> yamllint?

Don't know, I just noticed that the comment indentation is inconsistent and
decided to fix that, but checkpatch wasn't complaining about it, so I ran it
through yamllint to check which one is "correct". I guess the default
yamllint config complains about it.

It also gave me errors about some line lengths being > 80, but I decided to
leave those alone. Not sure if it's worth it to break up the comments into
multiple lines for that.

Thanks,

Stanislav

> 
> In any case, a change like this can only be done at the end of the merge 
> window just before rc1. Otherwise, it is merge conflict hell. I would do 
> that, but I really prefer it the way it is. The reason is it makes the 
> '-' stand out more and those are easy to miss in yaml. For example, 
> these look the same but are a bit different:
> 
> - items:
>   - const: foo
> 
> - items:
>     const: foo
> 
> > 
> > Signed-off-by: Stanislav Jakubek <stano.jakubek@...il.com>
> > ---
> >  .../devicetree/bindings/trivial-devices.yaml  | 314 +++++++++---------
> >  1 file changed, 157 insertions(+), 157 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ