commit | 9a5db530aa7d98b10c4f5104027565c98cca49e6 | [log] [tgz] |
---|---|---|
author | Sumit Garg <sumit.garg@linaro.org> | Mon Jul 12 19:16:19 2021 +0530 |
committer | Daniel Thompson <daniel.thompson@linaro.org> | Tue Jul 27 17:04:50 2021 +0100 |
tree | c49ad576491e01de4af10782ddaeb1a50d2aee92 | |
parent | c25abcd625505f53b72dc156bac32b5120826742 [diff] |
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>