summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-01-15 19:25:56 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2025-03-14 20:54:44 +0300
commit2fdbf2ff388441476aae5d914a04c47b247b5e7b (patch)
tree9c52c75d3a6ac9506652ad868e5c9fdc8c221a41 /lib/debugobjects.c
parent00cb1e01cd29c664dcd22cabc25be410e2c7faa7 (diff)
downloadlinux-2fdbf2ff388441476aae5d914a04c47b247b5e7b.tar.xz
arm64/sysreg: Enforce whole word match for open/close tokens
Opening and closing tokens can also match on words with common prefixes like "Endsysreg" vs "EndsysregFields". This could potentially make the script go wrong in weird ways so make it fall through to the fatal unhandled statement catcher if it doesn't fully match the current block. Closing ones also get expect_fields(1) to ensure nothing other than whitespace follows. Signed-off-by: James Clark <james.clark@linaro.org> Acked-by: Will Deacon <will@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20250115162600.2153226-3-james.clark@linaro.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions