Skip to content

Commit 88e412e

Browse files
rahul-bedarkargregkh
authored andcommitted
fs: debugfs: remove trailing whitespace
fixes checkpatch.pl trailing whitespace errors Signed-off-by: Rahul Bedarkar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8278bd3 commit 88e412e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fs/debugfs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static ssize_t read_file_bool(struct file *file, char __user *user_buf,
451451
{
452452
char buf[3];
453453
u32 *val = file->private_data;
454-
454+
455455
if (*val)
456456
buf[0] = 'Y';
457457
else

fs/debugfs/inode.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev
6666
break;
6767
}
6868
}
69-
return inode;
69+
return inode;
7070
}
7171

7272
/* SMP-safe */
@@ -317,7 +317,7 @@ static struct dentry *__create_file(const char *name, umode_t mode,
317317
goto exit;
318318

319319
/* If the parent is not specified, we create it in the root.
320-
* We need the root dentry to do this, which is in the super
320+
* We need the root dentry to do this, which is in the super
321321
* block. A pointer to that is in the struct vfsmount that we
322322
* have around.
323323
*/
@@ -330,7 +330,7 @@ static struct dentry *__create_file(const char *name, umode_t mode,
330330
switch (mode & S_IFMT) {
331331
case S_IFDIR:
332332
error = debugfs_mkdir(parent->d_inode, dentry, mode);
333-
333+
334334
break;
335335
case S_IFLNK:
336336
error = debugfs_link(parent->d_inode, dentry, mode,

0 commit comments

Comments
 (0)