Changes in kernel/generic/src/console/kconsole.c [a1ecb88:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
ra1ecb88 rfeeac0d 118 118 * Make sure the command is not already listed. 119 119 */ 120 list_foreach(cmd_list, cur) { 121 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 122 120 list_foreach(cmd_list, link, cmd_info_t, hlp) { 123 121 if (hlp == cmd) { 124 122 /* The command is already there. */ … … 612 610 cmd_info_t *cmd = NULL; 613 611 614 list_foreach(cmd_list, cur) { 615 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 612 list_foreach(cmd_list, link, cmd_info_t, hlp) { 616 613 spinlock_lock(&hlp->lock); 617 614
Note:
See TracChangeset
for help on using the changeset viewer.