]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/arm64: Remove casts to/from void in check_tags_inclusion
authorMark Brown <broonie@kernel.org>
Tue, 10 May 2022 16:45:19 +0000 (17:45 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Sun, 15 May 2022 10:07:54 +0000 (11:07 +0100)
commit541235dee01140c4ae9e71e8dfbdb4c2f9eac9d5
treecb9d6f8779bbe54dac4cd5dc675ece1af3829982
parent72d6771cb1734a2f32308c34c61043595e4bcb41
selftests/arm64: Remove casts to/from void in check_tags_inclusion

Void pointers may be freely used with other pointer types in C, any casts
between void * and other pointer types serve no purpose other than to
mask potential warnings. Drop such casts from check_tags_inclusion to
help with future review of the code.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220510164520.768783-5-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/mte/check_tags_inclusion.c