Changeset 494 for trunk


Ignore:
Timestamp:
Aug 22, 2018, 11:56:45 PM (6 years ago)
Author:
viala@…
Message:

Fix an error in an assert, style on an other.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/drivers/soclib_memc.c

    r75 r494  
    171171        register uint_t i;
    172172        uint_t *dst;
    173                      
    174         assert(rq->file != NULL);
    175  
     173
     174        assert(rq->file != NULL, "rq->file should'nt be NULL.\n");
     175
    176176        count = rq->count >> 2; /* 32 bits registers */
    177177        dst   = rq->dst;
  • trunk/kernel/fs/devfs.c

    r492 r494  
    471471    else
    472472    {
    473         assert( false ,
    474         "%s does not support direct user access", chdev_func_str(func) );
     473        assert( false , "%s does not support direct user access",
     474          chdev_func_str(func) );
    475475
    476476        return -1;
  • trunk/kernel/kern/alarm.c

    r23 r494  
    8282                info = list_element(iter, struct alarm_info_s, list);
    8383
    84                 assert((info->signature == ALRM_INFO_ID) && "Not an ALRM info object");
     84                assert((info->signature == ALRM_INFO_ID), "Not an ALRM info object");
    8585
    8686                if(tm_msec < info->tm_wakeup)
Note: See TracChangeset for help on using the changeset viewer.