Changeset 473 for trunk/kernel/mm/vmm.c


Ignore:
Timestamp:
Aug 21, 2018, 6:01:01 PM (3 years ago)
Author:
alain
Message:

Fix several GCC warning related to the -Wextra compilation option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/vmm.c

    r469 r473  
    718718
    719719        // remove vseg from VSL
    720                 vseg_detach( vmm , vseg );
     720                vseg_detach( vseg );
    721721
    722722        // release memory allocated to vseg descriptor
     
    747747__FUNCTION__ , vseg_type_str( vseg->type ), vseg->vpn_base, vseg->vpn_size );
    748748#endif
    749                     vseg_detach( vmm , vseg );
     749                    vseg_detach( vseg );
    750750            vseg_free( vseg );
    751751
     
    10221022    // get pointers on calling process and VMM
    10231023    thread_t   * this    = CURRENT_THREAD;
    1024     process_t  * process = this->process;
    10251024    vmm_t      * vmm     = &this->process->vmm;
    10261025    uint32_t     type    = vseg->type;
     
    10291028    xptr_t lock_xp = XPTR( local_cxy , &vmm->vsegs_lock );
    10301029        remote_rwlock_wr_lock( lock_xp );
    1031         vseg_detach( &process->vmm , vseg );
     1030        vseg_detach( vseg );
    10321031        remote_rwlock_wr_unlock( lock_xp );
    10331032
Note: See TracChangeset for help on using the changeset viewer.