Skip to contentSkip to conversation

mm/mempolicy: fix issues detected by checkpatch

PATCH New JeongHyeon Lee 1 participant 1 message Sep 2, 2024 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20240902052723epcas1p14bde943e61f9e61c81db72245cb74c79@epcas1p1.samsung.com

#1 lore raw

PATCH 1/1 mm/mempolicy: fix issues detected by checkpatch

- ERROR: code indent should use tabs where possible
- ERROR: that open brace { should be on the previous line

---
 mm/mempolicy.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
mm/mempolicy.c +2 -3
index b646fab3e45e..840da8ff9b9b 100644
@@ -1161,7 +1161,7 @@ int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from,
 			 * do_migrate_pages() tries to maintain the relative
 			 * node relationship of the pages established between
 			 * threads and memory areas.
-                         *
+			 *
 			 * However if the number of source nodes is not equal to
 			 * the number of destination nodes we can not preserve
 			 * this node relative relationship.  In that case, skip
@@ -3148,8 +3148,7 @@ void numa_default_policy(void)
 /*
  * Parse and format mempolicy from/to strings
  */
-static const char * const policy_modes[] =
-{
+static const char * const policy_modes[] = {
 	[MPOL_DEFAULT]    = "default",
 	[MPOL_PREFERRED]  = "prefer",
 	[MPOL_BIND]       = "bind",
Signature · 1 line
2.25.1