All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: opt code indent
@ 2021-06-03  6:52 13145886936
  0 siblings, 0 replies; 2+ messages in thread
From: 13145886936 @ 2021-06-03  6:52 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, gushengxian

From: gushengxian <gushengxian@yulong.com>

Code indent should use tabs where possible.

Signed-off-by: gushengxian <gushengxian@yulong.com>
---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index ba1068a1837f..a8163cff10a0 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2669,7 +2669,7 @@ generic_file_read_iter(struct kiocb *iocb, struct iov_iter *iter)
 		} else {
 			retval = filemap_write_and_wait_range(mapping,
 						iocb->ki_pos,
-					        iocb->ki_pos + count - 1);
+						iocb->ki_pos + count - 1);
 			if (retval < 0)
 				return retval;
 		}
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] mm: opt code indent
@ 2021-06-03  7:25 13145886936
  0 siblings, 0 replies; 2+ messages in thread
From: 13145886936 @ 2021-06-03  7:25 UTC (permalink / raw)
  To: hannes, mhocko, vdavydov.dev, akpm; +Cc: linux-mm, linux-kernel, gushengxian

From: gushengxian <gushengxian@yulong.com>

Code indent should use tabs where possible.

Signed-off-by: gushengxian <gushengxian@yulong.com>
---
 mm/memcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index b9a6db6a7d4f..f4f2adafb526 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -1989,7 +1989,7 @@ void lock_page_memcg(struct page *page)
 	 * The RCU lock is held throughout the transaction.  The fast
 	 * path can get away without acquiring the memcg->move_lock
 	 * because page moving starts with an RCU grace period.
-         */
+	 */
 	rcu_read_lock();
 
 	if (mem_cgroup_disabled())
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-03  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03  6:52 [PATCH] mm: opt code indent 13145886936
2021-06-03  7:25 13145886936

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.