summaryrefslogtreecommitdiffstats
path: root/lib/test_meminit.c
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2021-02-08 13:32:22 +0530
committerDaniel Thompson <daniel.thompson@linaro.org>2021-04-14 13:47:09 +0100
commit83fa2d13d628be901a21cdfb3553963cd8858052 (patch)
treed1e265368f2a16a3af6ef640021a7a1b8c8f928f /lib/test_meminit.c
parent2bbd9b0f2b4ec0afa80b52b1a68bd3bc80618275 (diff)
downloadlinux-83fa2d13d628be901a21cdfb3553963cd8858052.tar.gz
linux-83fa2d13d628be901a21cdfb3553963cd8858052.tar.bz2
linux-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 <sumit.garg@linaro.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/1612771342-16883-1-git-send-email-sumit.garg@linaro.org [daniel.thompson@linaro.org: Replaced (char *)0/NULL initializers with an array size] Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'lib/test_meminit.c')
0 files changed, 0 insertions, 0 deletions