[PATCH v10 04/10] arm64/sysreg: Add a comment that the sysreg file should be sorted
Mark Brown
broonie at kernel.org
Tue Jan 14 11:45:24 PST 2025
On Tue, Jan 14, 2025 at 12:16:27PM -0600, Rob Herring wrote:
> On Mon, Jan 13, 2025 at 10:49 AM Marc Zyngier <maz at kernel.org> wrote:
> > The better option would be to add the comment *and* sort the file.
> > Leading by example has some value, it seems.
> IME, it's better if documentation just states what the tools enforce.
> Can't we add something like this to the header generation:
> $ grep '^Sysreg\s' arch/arm64/tools/sysreg | sort -n -k3 -k4 -k5 -k6 -k7 -c
> sort: -:22: disorder: Sysreg ID_MMFR4_EL1 3 0 0
> 2 6
Sounds good to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250114/d6d84bc3/attachment.sig>
More information about the linux-arm-kernel
mailing list