Files
erofs-linux/kernel/debug
Sumit Garg 83fa2d13d6 kdb: Refactor env variables get/set code
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 <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Replaced (char *)0/NULL initializers with
an array size]
Signed-off-by: Daniel Thompson <[email protected]>
2021-04-14 13:47:09 +01:00
..