+ mm-fix-checkpatch-warning-extraneous-braces.patch added to -mm tree

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

 



The patch titled
     Subject: mm: Fix checkpatch warning, extraneous braces
has been added to the -mm tree.  Its filename is
     mm-fix-checkpatch-warning-extraneous-braces.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-fix-checkpatch-warning-extraneous-braces.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-fix-checkpatch-warning-extraneous-braces.patch

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/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Tobin C Harding <me@xxxxxxxx>
Subject: mm: Fix checkpatch warning, extraneous braces

Patch fixes checkpatch warning on use of braces around a single
statement.

Link: http://lkml.kernel.org/r/1485992240-10986-5-git-send-email-me@xxxxxxxx
Signed-off-by: Tobin C Harding <me@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memory.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN mm/memory.c~mm-fix-checkpatch-warning-extraneous-braces mm/memory.c
--- a/mm/memory.c~mm-fix-checkpatch-warning-extraneous-braces
+++ a/mm/memory.c
@@ -1140,9 +1140,8 @@ again:
 	arch_enter_lazy_mmu_mode();
 	do {
 		pte_t ptent = *pte;
-		if (pte_none(ptent)) {
+		if (pte_none(ptent))
 			continue;
-		}
 
 		if (pte_present(ptent)) {
 			struct page *page;
_

Patches currently in -mm which might be from me@xxxxxxxx are

mm-fix-sparse-use-plain-integer-as-null-pointer.patch
mm-fix-checkpatch-warnings-whitespace.patch
mm-fix-checkpatch-errors-whitespace-errors.patch
mm-fix-checkpatch-warning-extraneous-braces.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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