Ignore:
Timestamp:
2013-12-25T22:54:29Z (10 years ago)
Author:
Martin Decky <martin@…>
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.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    rf7a33de r0c2d9bb  
    118118         * Make sure the command is not already listed.
    119119         */
    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) {
    123121                if (hlp == cmd) {
    124122                        /* The command is already there. */
     
    612610        cmd_info_t *cmd = NULL;
    613611       
    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) {
    616613                spinlock_lock(&hlp->lock);
    617614               
Note: See TracChangeset for help on using the changeset viewer.