mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-06-02 01:42:20 -04:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user