All of lore.kernel.org
 help / color / mirror / Atom feed
From: msuchanek <msuchanek@suse.de>
To: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Mahesh J Salgaonkar <mahesh@linux.vnet.ibm.com>,
	linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH v5 2/2] powerpc/fadump: update documentation about 'fadump_append=' parameter
Date: Wed, 12 Jul 2017 13:31:02 +0200	[thread overview]
Message-ID: <20170712133102.2145e393@naga> (raw)
In-Reply-To: <dc6ce480-52e0-1cf9-a2ce-252fdf24f79a@linux.vnet.ibm.com>

Hello,

On Wed, 12 Jul 2017 00:00:57 +0530
Hari Bathini <hbathini@linux.vnet.ibm.com> wrote:

> Hi Michal,
>=20
>=20
> Thanks for the review..
>=20
>=20
> On Monday 26 June 2017 05:45 PM, Michal Such=C3=A1nek wrote:
> > Hello,
> >
> > On Tue, 20 Jun 2017 21:14:08 +0530
> > Hari Bathini <hbathini@linux.vnet.ibm.com> wrote:
> > =20

> I would prefer documenting over a complex implementation. Actually, I
> am considering a simple approach of replacing every occurrence of
> "fadump_extra_args=3D" with "fadump_extra_args " in fadump capture
> kernel. The cmdline
>=20
>    "root=3D/dev/sda2 ro fadump_extra_args=3D"a b c" crashkernel=3D512M=20
> fadump_extra_args=3Dd"
>=20
> becomes
>=20
>    "root=3D/dev/sda2 ro fadump_extra_args "a b c" crashkernel=3D512M=20
> fadump_extra_args d"

which is totally broken

>=20
> in fadump capture kernel. This must take care of the pitfalls with
> the current approach and also,
> doesn't rely on parse_args() which was not designed for this scenario
> to start with..?

It was designed for parsing arguments. To handle replacing arguments
you have to extend it. You need to get more information from it for
this case.

Best regards

Michal

  reply	other threads:[~2017-07-12 11:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-03 18:22 [PATCH v5 1/2] powerpc/fadump: reduce memory consumption for capture kernel Hari Bathini
2017-05-03 18:22 ` [PATCH v5 2/2] powerpc/fadump: update documentation about 'fadump_append=' parameter Hari Bathini
2017-05-10 16:01   ` Michal Suchánek
2017-05-10 20:30     ` Hari Bathini
2017-05-11 13:16       ` Michal Suchánek
2017-05-12  9:45         ` Hari Bathini
2017-05-12 15:42           ` Michal Suchánek
2017-05-15  7:29             ` Hari Bathini
2017-05-15  9:29               ` Michal Suchánek
2017-06-08 18:00                 ` Hari Bathini
2017-06-09 12:04                   ` Michal Suchánek
2017-06-20 15:44                     ` Hari Bathini
2017-06-26 12:15                       ` Michal Suchánek
2017-07-11 18:30                         ` Hari Bathini
2017-07-12 11:31                           ` msuchanek [this message]
2017-07-12 12:15                             ` Hari Bathini
2017-05-11 15:07       ` Michal Suchánek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170712133102.2145e393@naga \
    --to=msuchanek@suse.de \
    --cc=hbathini@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mahesh@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.