Skip to content

Commit 2a30aca

Browse files
committed
arm64: vdso: Fix unusual formatting in *setup_additional_pages()
There's really no need to put every parameter on a new line when calling a function with a long name, so reformat the *setup_additional_pages() functions in the vDSO setup code to follow the usual conventions. Acked-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
1 parent 0cbc265 commit 2a30aca

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

arch/arm64/kernel/vdso.c

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,7 @@ int aarch32_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
440440
goto out;
441441

442442
if (IS_ENABLED(CONFIG_COMPAT_VDSO)) {
443-
ret = __setup_additional_pages(VDSO_ABI_AA32,
444-
mm,
445-
bprm,
443+
ret = __setup_additional_pages(VDSO_ABI_AA32, mm, bprm,
446444
uses_interp);
447445
if (ret)
448446
goto out;
@@ -487,20 +485,15 @@ static int __init vdso_init(void)
487485
}
488486
arch_initcall(vdso_init);
489487

490-
int arch_setup_additional_pages(struct linux_binprm *bprm,
491-
int uses_interp)
488+
int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
492489
{
493490
struct mm_struct *mm = current->mm;
494491
int ret;
495492

496493
if (mmap_write_lock_killable(mm))
497494
return -EINTR;
498495

499-
ret = __setup_additional_pages(VDSO_ABI_AA64,
500-
mm,
501-
bprm,
502-
uses_interp);
503-
496+
ret = __setup_additional_pages(VDSO_ABI_AA64, mm, bprm, uses_interp);
504497
mmap_write_unlock(mm);
505498

506499
return ret;

0 commit comments

Comments
 (0)