Re: [PATCH v2] kdb: Simplify kdb commands registration

2021-01-27 Thread Sumit Garg
On Mon, 25 Jan 2021 at 21:32, Doug Anderson wrote: > > Hi, > > On Sun, Jan 24, 2021 at 11:06 PM Sumit Garg wrote: > > > > Simplify kdb commands registration via using linked list instead of > > static array for commands storage. > > > > Signed-off-by: Sumit Garg > > --- > > > > Changes in v2: >

Re: [PATCH v2] kdb: Simplify kdb commands registration

2021-01-25 Thread Doug Anderson
Hi, On Sun, Jan 24, 2021 at 11:06 PM Sumit Garg wrote: > > Simplify kdb commands registration via using linked list instead of > static array for commands storage. > > Signed-off-by: Sumit Garg > --- > > Changes in v2: > - Remove redundant NULL check for "cmd_name". > - Incorporate misc.

[PATCH v2] kdb: Simplify kdb commands registration

2021-01-24 Thread Sumit Garg
Simplify kdb commands registration via using linked list instead of static array for commands storage. Signed-off-by: Sumit Garg --- Changes in v2: - Remove redundant NULL check for "cmd_name". - Incorporate misc. comment. kernel/debug/kdb/kdb_main.c| 119