[merged] mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.patch removed from -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 removed from the -mm tree.  Its filename was
     mm-slab-slub-coding-style-whitespaces-and-tabs-mixture.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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

origin.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