Commit ce253b85 authored by Alejandro Tafalla's avatar Alejandro Tafalla Committed by Catalin Marinas

arm64/sysreg: Fix typo in Enum element regex

In the awk script, there was a typo with the comparison operator when
checking if the matched pattern is inside an Enum block.
This prevented the generation of the whole sysreg-defs.h header.

Fixes: 66847e06 ("arm64: Add sysreg header generation scripting")
Signed-off-by: default avatarAlejandro Tafalla <atafalla@dnyon.com>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220609204220.12112-1-atafalla@dnyon.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent f539316f
......@@ -253,7 +253,7 @@ END {
next
}
/0b[01]+/ && block = "Enum" {
/0b[01]+/ && block == "Enum" {
expect_fields(2)
val = $1
name = $2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment