Changeset 1429


Ignore:
Timestamp:
09/06/11 20:49:31 (9 months ago)
Author:
uwe
Message:

Kill all exit() calls in chipset_enable.c.

Signed-off-by: Tadas Slotkus <devtadas@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/chipset_enable.c

    r1426 r1429  
    344344idsel_garbage_out: 
    345345                free(idsel); 
    346                 /* FIXME: Return failure here once internal_init() starts 
    347                  * to care about the return value of the chipset enable. 
    348                  */ 
    349                 exit(1); 
     346                return ERROR_FATAL; 
    350347        } 
    351348        free(idsel); 
     
    490487        /* Enable Flash Writes */ 
    491488        ret = enable_flash_ich_dc(dev, name); 
     489        if (ret == ERROR_FATAL) 
     490                return ret; 
    492491 
    493492        /* Get physical address of Root Complex Register Block */ 
     
    895894        if (!smbusdev) { 
    896895                msg_perr("ERROR: SMBus device not found. Aborting.\n"); 
    897                 exit(1); 
     896                return ERROR_FATAL; 
    898897        } 
    899898 
Note: See TracChangeset for help on using the changeset viewer.