[PATCH v1 4/5] selftests/arm64: Remove casts to/from void in check_tags_inclusion

Shuah Khan skhan at linuxfoundation.org
Tue May 10 10:23:47 PDT 2022


On 5/10/22 10:45 AM, Mark Brown wrote:
> 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 at kernel.org>
> ---
>   .../arm64/mte/check_tags_inclusion.c          | 24 +++++++++----------
>   1 file changed, 12 insertions(+), 12 deletions(-)
> 

Looks good to me.

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

thanks,
-- Shuah



More information about the linux-arm-kernel mailing list