lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240902052720.754717-1-jhs2.lee@samsung.com>
Date: Mon,  2 Sep 2024 14:27:20 +0900
From: JeongHyeon Lee <jhs2.lee@...sung.com>
To: akpm@...ux-foundation.org, jhs2.lee@...sung.com
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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

Signed-off-by: JeongHyeon Lee <jhs2.lee@...sung.com>
---
 mm/mempolicy.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index b646fab3e45e..840da8ff9b9b 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -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",
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ