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: <20180922123831.1571-1-glebocki.przemyslaw@gmail.com>
Date:   Sat, 22 Sep 2018 14:38:31 +0200
From:   Przemysław Głębocki 
        <glebocki.przemyslaw@...il.com>
To:     eparis@...hat.com
Cc:     linux-audit@...hat.com, linux-kernel@...r.kernel.org,
        Przemysław Głębocki 
        <glebocki.przemyslaw@...il.com>
Subject: [PATCH] audit: fixed a braces coding style issue

Fixed a coding style issue.

Signed-off-by: Przemysław Głębocki <glebocki.przemyslaw@...il.com>
---
 kernel/audit_tree.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c
index ea43181cde4a..3d0e45fa765d 100644
--- a/kernel/audit_tree.c
+++ b/kernel/audit_tree.c
@@ -112,10 +112,9 @@ static void free_chunk(struct audit_chunk *chunk)
 {
 	int i;
 
-	for (i = 0; i < chunk->count; i++) {
+	for (i = 0; i < chunk->count; i++)
 		if (chunk->owners[i].owner)
 			put_tree(chunk->owners[i].owner);
-	}
 	kfree(chunk);
 }
 
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ