projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9105a29
)
arm64/sysreg: Allow leading blanks on comments in sysreg file
author
Mark Brown
<broonie@kernel.org>
Mon, 4 Jul 2022 17:02:37 +0000
(18:02 +0100)
committer
Will Deacon
<will@kernel.org>
Tue, 5 Jul 2022 10:45:45 +0000
(11:45 +0100)
Currently we only accept comments where the # is placed at the start of a
line, allow leading blanks so we can format comments inside definitions in
a more pleasing manner.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220704170302.2609529-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/tools/gen-sysreg.awk
patch
|
blob
|
history
diff --git
a/arch/arm64/tools/gen-sysreg.awk
b/arch/arm64/tools/gen-sysreg.awk
index
5c55509
..
db46192
100755
(executable)
--- a/
arch/arm64/tools/gen-sysreg.awk
+++ b/
arch/arm64/tools/gen-sysreg.awk
@@
-88,7
+88,7
@@
END {
# skip blank lines and comment lines
/^$/ { next }
-/^#/ { next }
+/^
[\t ]*
#/ { next }
/^SysregFields/ {
change_block("SysregFields", "None", "SysregFields")