diff options
author | Mark Brown <broonie@kernel.org> | 2022-08-29 17:06:59 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-07 14:25:46 +0100 |
commit | 1998c823c535643c59135a48242d1f933c379d5b (patch) | |
tree | 8149be37321bb2ead96dab84c820fef112224a77 /.clang-format | |
parent | kselftest/arm64: Remove unneeded protype for validate_extra_context() (diff) | |
download | linux-dev-1998c823c535643c59135a48242d1f933c379d5b.tar.xz linux-dev-1998c823c535643c59135a48242d1f933c379d5b.zip |
kselftest/arm64: Only validate each signal context once
Currently for the more complex signal context types we validate the context
specific details the end of the parsing loop validate_reserved() if we've
ever seen a context of that type. This is currently merely a bit inefficient
but will get a bit awkward when we start parsing extra_context, at which
point we will need to reset the head to advance into the extra space that
extra_context provides. Instead only do the more detailed checks on each
context type the first time we see that context type.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220829160703.874492-7-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions