Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kselftest/arm64: Add parentheses around sizeof for clarity

Added parentheses around sizeof to make the expression clearer
and improve readability. This change has no functional impact.

```
[command]
./scripts/checkpatch.pl tools/testing/selftests/arm64/fp/sve-ptrace.c

[output]
WARNING: sizeof *sve should be sizeof(*sve)
```

Signed-off-by: Vivek Yadav <vivekyadav1207731111@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Vivek Yadav and committed by
Will Deacon
62e8a9fb a940568c

+1 -1
+1 -1
tools/testing/selftests/arm64/fp/sve-ptrace.c
··· 123 123 { 124 124 struct user_sve_header *sve; 125 125 void *p; 126 - size_t sz = sizeof *sve; 126 + size_t sz = sizeof(*sve); 127 127 struct iovec iov; 128 128 int ret; 129 129