diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2021-07-12 15:46:19 +0200 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2021-07-27 18:04:50 +0200 |
commit | 9a5db530aa7d98b10c4f5104027565c98cca49e6 (patch) | |
tree | c49ad576491e01de4af10782ddaeb1a50d2aee92 /samples/kdb | |
parent | kdb: Get rid of redundant kdb_register_flags() (diff) | |
download | linux-9a5db530aa7d98b10c4f5104027565c98cca49e6.tar.xz linux-9a5db530aa7d98b10c4f5104027565c98cca49e6.zip |
kdb: Simplify kdb_defcmd macro logic
Switch to use a linked list instead of dynamic array which makes
allocation of kdb macro and traversing the kdb macro commands list
simpler.
Suggested-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20210712134620.276667-4-sumit.garg@linaro.org
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions