+ mm-mmu_gather-remove-needless-return-in-void-api-tlb_remove_page.patch added to mm-nonmm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/mmu_gather: remove needless return in void API tlb_remove_page()
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     mm-mmu_gather-remove-needless-return-in-void-api-tlb_remove_page.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-mmu_gather-remove-needless-return-in-void-api-tlb_remove_page.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
Subject: mm/mmu_gather: remove needless return in void API tlb_remove_page()
Date: Fri, 21 Feb 2025 05:02:06 -0800

Remove needless 'return' in void API tlb_remove_page() since both the API
and tlb_remove_page_size() are void functions.

Link: https://lkml.kernel.org/r/20250221-rmv_return-v1-1-cc8dff275827@xxxxxxxxxxx
Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-generic/tlb.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/asm-generic/tlb.h~mm-mmu_gather-remove-needless-return-in-void-api-tlb_remove_page
+++ a/include/asm-generic/tlb.h
@@ -503,7 +503,7 @@ static inline void tlb_remove_page_size(
 
 static inline void tlb_remove_page(struct mmu_gather *tlb, struct page *page)
 {
-	return tlb_remove_page_size(tlb, page, PAGE_SIZE);
+	tlb_remove_page_size(tlb, page, PAGE_SIZE);
 }
 
 static inline void tlb_remove_ptdesc(struct mmu_gather *tlb, void *pt)
_

Patches currently in -mm which might be from quic_zijuhu@xxxxxxxxxxx are

rhashtable-remove-needless-return-in-three-void-apis.patch
cpu-remove-needless-return-in-void-api-suspend_enable_secondary_cpus.patch
mm-mmu_gather-remove-needless-return-in-void-api-tlb_remove_page.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux