Changes in kernel/generic/src/console/kconsole.c [feeac0d:9b11a971] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
rfeeac0d r9b11a971 53 53 #include <func.h> 54 54 #include <str.h> 55 #include <macros.h> 55 56 #include <sysinfo/sysinfo.h> 56 57 #include <ddi/device.h> … … 118 119 * Make sure the command is not already listed. 119 120 */ 120 list_foreach(cmd_list, link, cmd_info_t, hlp) { 121 list_foreach(cmd_list, cur) { 122 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 123 121 124 if (hlp == cmd) { 122 125 /* The command is already there. */ … … 610 613 cmd_info_t *cmd = NULL; 611 614 612 list_foreach(cmd_list, link, cmd_info_t, hlp) { 615 list_foreach(cmd_list, cur) { 616 cmd_info_t *hlp = list_get_instance(cur, cmd_info_t, link); 613 617 spinlock_lock(&hlp->lock); 614 618
Note:
See TracChangeset
for help on using the changeset viewer.