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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 15 Jul 2017 00:05:48 +0100
From:   Carlos Palminha <CARLOS.PALMINHA@...opsys.com>
To:     <linux-kernel@...r.kernel.org>
CC:     <hirofumi@...l.parknet.co.jp>, <viro@...iv.linux.org.uk>,
        <CARLOS.PALMINHA@...opsys.com>
Subject: [PATCH 1/3] fat: remove prohibited spaces

remove prohibited spaces based on checkpatch

Signed-off-by: Carlos Palminha <palminha@...opsys.com>
---
 fs/fat/dir.c        | 2 +-
 fs/fat/namei_vfat.c | 2 +-
 fs/fat/nfs.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 81cecbe6d7cf..85269ee2bbd1 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -915,7 +915,7 @@ int fat_dir_empty(struct inode *dir)
 	bh = NULL;
 	cpos = 0;
 	while (fat_get_short_entry(dir, &cpos, &bh, &de) >= 0) {
-		if (strncmp(de->name, MSDOS_DOT   , MSDOS_NAME) &&
+		if (strncmp(de->name, MSDOS_DOT, MSDOS_NAME) &&
 		    strncmp(de->name, MSDOS_DOTDOT, MSDOS_NAME)) {
 			result = -ENOTEMPTY;
 			break;
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c
index 6a7152d0c250..0d7b49dcff12 100644
--- a/fs/fat/namei_vfat.c
+++ b/fs/fat/namei_vfat.c
@@ -983,7 +983,7 @@ static int vfat_rename(struct inode *old_dir, struct dentry *old_dentry,
 		}
 		drop_nlink(old_dir);
 		if (!new_inode)
- 			inc_nlink(new_dir);
+			inc_nlink(new_dir);
 	}
 
 	err = fat_remove_entries(old_dir, &old_sinfo);	/* and releases bh */
diff --git a/fs/fat/nfs.c b/fs/fat/nfs.c
index eb192656fba2..30dfc5da29db 100644
--- a/fs/fat/nfs.c
+++ b/fs/fat/nfs.c
@@ -73,7 +73,7 @@ static struct inode *__fat_nfs_get_inode(struct super_block *sb,
 	}
 	if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) {
 		struct buffer_head *bh = NULL;
-		struct msdos_dir_entry *de ;
+		struct msdos_dir_entry *de;
 		sector_t blocknr;
 		int offset;
 		fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset);
-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ