+ mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.patch added to -mm tree

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

 



The patch titled
     Subject: mm: slab/slub: coding style: whitespaces and tabs mixture
has been added to the -mm tree.  Its filename is
     mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.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: LQYMGT <lqymgt@xxxxxxxxx>
Subject: mm: slab/slub: coding style: whitespaces and tabs mixture

Some code in mm/slab.c and mm/slub.c use whitespaces in indent.
Clean them up.

Signed-off-by: LQYMGT <lqymgt@xxxxxxxxx>
Acked-by: Christoph Lameter <cl@xxxxxxxxx>
Cc: Pekka Enberg <penberg@xxxxxxxxxx>
Cc: David Rientjes <rientjes@xxxxxxxxxx>
Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/slab.c |   10 +++++-----
 mm/slub.c |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff -puN mm/slab.c~mm-slab-slub-coding-style-whitespaces-and-tabs-mixture mm/slab.c
--- a/mm/slab.c~mm-slab-slub-coding-style-whitespaces-and-tabs-mixture
+++ a/mm/slab.c
@@ -3580,11 +3580,11 @@ static int alloc_kmem_cache_node(struct
 
 	for_each_online_node(node) {
 
-                if (use_alien_caches) {
-                        new_alien = alloc_alien_cache(node, cachep->limit, gfp);
-                        if (!new_alien)
-                                goto fail;
-                }
+		if (use_alien_caches) {
+			new_alien = alloc_alien_cache(node, cachep->limit, gfp);
+			if (!new_alien)
+				goto fail;
+		}
 
 		new_shared = NULL;
 		if (cachep->shared) {
diff -puN mm/slub.c~mm-slab-slub-coding-style-whitespaces-and-tabs-mixture mm/slub.c
--- a/mm/slub.c~mm-slab-slub-coding-style-whitespaces-and-tabs-mixture
+++ a/mm/slub.c
@@ -2554,7 +2554,7 @@ static void __slab_free(struct kmem_cach
 
 			} else { /* Needs to be taken off a list */
 
-	                        n = get_node(s, page_to_nid(page));
+				n = get_node(s, page_to_nid(page));
 				/*
 				 * Speculatively acquire the list_lock.
 				 * If the cmpxchg does not succeed then we may
@@ -2587,10 +2587,10 @@ static void __slab_free(struct kmem_cach
 		 * The list lock was not taken therefore no list
 		 * activity can be necessary.
 		 */
-                if (was_frozen)
-                        stat(s, FREE_FROZEN);
-                return;
-        }
+		if (was_frozen)
+			stat(s, FREE_FROZEN);
+		return;
+	}
 
 	if (unlikely(!new.inuse && n->nr_partial >= s->min_partial))
 		goto slab_empty;
_

Patches currently in -mm which might be from lqymgt@xxxxxxxxx are

mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.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 Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux