lkml.org 
[lkml]   [2021]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] init: do_mounts.c: Fix indentation errors.
Switch and case have been aligned together, extra tab removed
Removed extra space before tab.

Signed-off-by: Shubhankar Kuranagatti <shubhankarvk@gmail.com>
---
init/do_mounts.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/init/do_mounts.c b/init/do_mounts.c
index a78e44ee6adb..82fe66d2eb97 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -422,13 +422,13 @@ void __init mount_block_root(char *name, int flags)
for (p = fs_names; *p; p += strlen(p)+1) {
int err = do_mount_root(name, p, flags, root_mount_data);
switch (err) {
- case 0:
- goto out;
- case -EACCES:
- case -EINVAL:
- continue;
+ case 0:
+ goto out;
+ case -EACCES:
+ case -EINVAL:
+ continue;
}
- /*
+ /*
* Allow the user to distinguish between failed sys_open
* and bad superblock on root device.
* and give them a list of the available devices
@@ -459,7 +459,6 @@ void __init mount_block_root(char *name, int flags)
out:
put_page(page);
}
-
#ifdef CONFIG_ROOT_NFS

#define NFSROOT_TIMEOUT_MIN 5
--
2.17.1
\
 
 \ /
  Last update: 2021-03-11 13:07    [W:0.072 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site