s390/mm,fault: reverse x-mas tree coding style
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 12 Oct 2023 07:40:31 +0000 (09:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Oct 2023 16:21:21 +0000 (18:21 +0200)
Have reverse x-mas tree coding style for variables everywhere.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/fault.c

index 797e6e2f1d11bafb1fe931909ecfb397a554af9a..c13999aa052690051a423541f040d8392b535a72 100644 (file)
@@ -346,13 +346,13 @@ static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault)
  */
 static inline vm_fault_t do_exception(struct pt_regs *regs, int access)
 {
-       struct gmap *gmap;
+       struct vm_area_struct *vma;
        struct task_struct *tsk;
+       unsigned long address;
        struct mm_struct *mm;
-       struct vm_area_struct *vma;
        enum fault_type type;
-       unsigned long address;
        unsigned int flags;
+       struct gmap *gmap;
        vm_fault_t fault;
        bool is_write;
 
@@ -498,8 +498,8 @@ out:
 void do_protection_exception(struct pt_regs *regs)
 {
        unsigned long trans_exc_code;
-       int access;
        vm_fault_t fault;
+       int access;
 
        trans_exc_code = regs->int_parm_long;
        /*
@@ -534,8 +534,8 @@ NOKPROBE_SYMBOL(do_protection_exception);
 
 void do_dat_exception(struct pt_regs *regs)
 {
-       int access;
        vm_fault_t fault;
+       int access;
 
        access = VM_ACCESS_FLAGS;
        fault = do_exception(regs, access);