Commit 62e8a9fb authored by Vivek Yadav's avatar Vivek Yadav Committed by Will Deacon
Browse files

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: default avatarVivek Yadav <vivekyadav1207731111@gmail.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent a940568c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type,
{
	struct user_sve_header *sve;
	void *p;
	size_t sz = sizeof *sve;
	size_t sz = sizeof(*sve);
	struct iovec iov;
	int ret;