Changeset 0c2d9bb in mainline for kernel/generic/src/console/kconsole.c
- Timestamp:
- 2013-12-25T22:54:29Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b51cf2c
- Parents:
- f7a33de (diff), ac36aed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
rf7a33de r0c2d9bb 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.