[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=VWq6Z7a=-JRCiggYcdekRAN9VWQnsX+03jOVFOBRi3BA@mail.gmail.com>
Date: Thu, 4 Feb 2021 09:34:40 -0800
From: Doug Anderson <dianders@...omium.org>
To: Sumit Garg <sumit.garg@...aro.org>
Cc: kgdb-bugreport@...ts.sourceforge.net,
Jason Wessel <jason.wessel@...driver.com>,
Daniel Thompson <daniel.thompson@...aro.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] kdb: Refactor env variables get/set code
Hi,
On Thu, Feb 4, 2021 at 2:14 AM Sumit Garg <sumit.garg@...aro.org> wrote:
>
> Add two new kdb environment access methods as kdb_setenv() and
> kdb_printenv() in order to abstract out environment access code
> from kdb command functions.
>
> Also, replace (char *)0 with NULL as an initializer for environment
> variables array.
>
> Signed-off-by: Sumit Garg <sumit.garg@...aro.org>
> ---
>
> Changes in v2:
> - Get rid of code motion to separate kdb_env.c file.
> - Replace (char *)0 with NULL.
> - Use kernel-doc style function comments.
> - s/kdb_prienv/kdb_printenv/
>
> kernel/debug/kdb/kdb_main.c | 166 +++++++++++++++++++++++++-------------------
> 1 file changed, 93 insertions(+), 73 deletions(-)
Reviewed-by: Douglas Anderson <dianders@...omium.org>
Powered by blists - more mailing lists