Re: [PATCH v3] kdb: Refactor env variables get/set code

2021-04-14 Thread Daniel Thompson
On Mon, Feb 08, 2021 at 01:32:22PM +0530, Sumit Garg 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 >

Re: [PATCH v3] kdb: Refactor env variables get/set code

2021-03-22 Thread Sumit Garg
Hi Daniel, On Mon, 8 Feb 2021 at 13:32, Sumit Garg 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 > va

[PATCH v3] kdb: Refactor env variables get/set code

2021-02-08 Thread Sumit Garg
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 Reviewed-by: Douglas Anderson