[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7c84e1fab6b78006eabf819b453b826aff078be1.1505494668.git.msuchanek@suse.de>
Date: Fri, 15 Sep 2017 19:02:48 +0200
From: Michal Suchanek <msuchanek@...e.de>
To: Jonathan Corbet <corbet@....net>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Jani Nikula <jani.nikula@...el.com>,
Michal Suchanek <msuchanek@...e.de>,
Kamlakant Patel <kamlakant.patel@...adcom.com>,
Bamvor Jian Zhang <bamvor.zhangjian@...aro.org>,
Tamara Diaconita <diaconitatamara@...il.com>,
Trond Myklebust <trond.myklebust@...marydata.com>,
Hari Bathini <hbathini@...ux.vnet.ibm.com>,
Mahesh Salgaonkar <mahesh@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Nicholas Piggin <npiggin@...il.com>,
Baoquan He <bhe@...hat.com>,
Ilya Matveychikov <matvejchikov@...il.com>,
Ingo Molnar <mingo@...nel.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH 3/6] powerpc/fadump: stop removing quotes in argument parsing.
Signed-off-by: Michal Suchanek <msuchanek@...e.de>
---
arch/powerpc/kernel/fadump.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 1678d99ea835..275ea42a27d5 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc/kernel/fadump.c
@@ -494,13 +494,6 @@ static void __init fadump_update_params(struct param_info *param_info,
if (!val)
return;
- /* remove one leading and one trailing quote if both are present */
- if ((val[0] == '"') && (val[vallen - 1] == '"')) {
- shortening += 2;
- vallen -= 2;
- val++;
- }
-
strncpy(tgt, FADUMP_EXTRA_ARGS_PARAM, FADUMP_EXTRA_ARGS_LEN);
tgt += FADUMP_EXTRA_ARGS_LEN;
*tgt++ = ' ';
--
2.10.2
Powered by blists - more mailing lists