[PATCH v1 3/5] selftests/arm64: Check failures to set tags in check_tags_inclusion

Shuah Khan skhan at linuxfoundation.org
Tue May 10 10:19:03 PDT 2022


On 5/10/22 10:45 AM, Mark Brown wrote:
> The MTE check_tags_inclusion test uses the mte_switch_mode() helper but
> ignores the return values it generates meaning we might not be testing
> the things we're trying to test, fail the test if it reports an error.
> The helper will log any errors it returns.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
>   .../selftests/arm64/mte/check_tags_inclusion.c | 18 ++++++++++++------
>   1 file changed, 12 insertions(+), 6 deletions(-)
> 

Thank you. Looks good to me.

Reviewed-by: Shuah Khan <skhan at linuxfoundation.org>

thanks,
-- Shuah



More information about the linux-arm-kernel mailing list