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>
This commit is contained in:
parent
a940568ccd
commit
62e8a9fbaa
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue