lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44c1e39667c838d00c9dbb007184ccf1@208suo.com>
Date:   Thu, 20 Jul 2023 15:34:45 +0800
From:   hanyu001@...suo.com
To:     mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu,
        Liam.Howlett@...cle.com, vbabka@...e.cz, akpm@...ux-foundation.org,
        dave@...olabs.net, willy@...radead.org
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mm: book3s32: add require space around that '?' and ':'

Fix below checkpatch errors:

./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that 
'?' (ctx:VxW)
./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that 
':' (ctx:VxW)

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  arch/powerpc/mm/book3s32/tlb.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/mm/book3s32/tlb.c 
b/arch/powerpc/mm/book3s32/tlb.c
index 9ad6b56bfec9..de4abfe3d06b 100644
--- a/arch/powerpc/mm/book3s32/tlb.c
+++ b/arch/powerpc/mm/book3s32/tlb.c
@@ -99,7 +99,7 @@ void hash__flush_tlb_page(struct vm_area_struct *vma, 
unsigned long vmaddr)
      struct mm_struct *mm;
      pmd_t *pmd;

-    mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm;
+    mm = (vmaddr < TASK_SIZE) ? vma->vm_mm : &init_mm;
      pmd = pmd_off(mm, vmaddr);
      if (!pmd_none(*pmd))
          flush_hash_pages(mm->context.id, vmaddr, pmd_val(*pmd), 1);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ