diff options
| author | Sumit Garg <[email protected]> | 2021-02-08 08:02:22 +0000 |
|---|---|---|
| committer | Daniel Thompson <[email protected]> | 2021-04-14 12:47:09 +0000 |
| commit | 83fa2d13d628be901a21cdfb3553963cd8858052 (patch) | |
| tree | d1e265368f2a16a3af6ef640021a7a1b8c8f928f /lib/test_printf.c | |
| parent | kernel: debug: Ordinary typo fixes in the file gdbstub.c (diff) | |
| download | kernel-83fa2d13d628be901a21cdfb3553963cd8858052.tar.gz kernel-83fa2d13d628be901a21cdfb3553963cd8858052.zip | |
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]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
