lkml.org 
[lkml]   [2020]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] init: main.c: Fixed a brace coding style issue.
Fixed a coding style issue.

Signed-off-by: B K Karthik <karthik.bk2000@live.com>
---
init/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/init/main.c b/init/main.c
index 9127b240fd26..d8477fb95bec 100644
--- a/init/main.c
+++ b/init/main.c
@@ -385,11 +385,11 @@ static u32 boot_config_checksum(unsigned char *p, u32 size)
static int __init bootconfig_params(char *param, char *val,
const char *unused, void *arg)
{
- if (strcmp(param, "bootconfig") == 0) {
+ if (strcmp(param, "bootconfig") == 0)
bootconfig_found = true;
- } else if (strcmp(param, "--") == 0) {
+ else if (strcmp(param, "--") == 0)
initargs_found = true;
- }
+
return 0;
}

--
2.20.1
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-06-28 15:41    [W:0.034 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site