Changeset 97c7682 in mainline for uspace/lib/c/generic/loc.c


Ignore:
Timestamp:
2012-07-14T11:18:40Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
804d9b6
Parents:
0747468 (diff), f0348c8 (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.

Text conflict in boot/arch/arm32/Makefile.inc:

Trivial conflict around ifeq condition.

Text conflict in kernel/arch/arm32/include/mm/page.h:

Added defines and set_pt_levelx_present function.
COnflict looked horrible because of the armv4/v7 split.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/loc.c

    r0747468 r97c7682  
    246246       
    247247        if (retval != EOK) {
    248                 async_wait_for(req, NULL);
     248                async_forget(req);
    249249                return retval;
    250250        }
     
    285285       
    286286        if (retval != EOK) {
    287                 async_wait_for(req, NULL);
     287                async_forget(req);
    288288                return retval;
    289289        }
     
    352352       
    353353        if (retval != EOK) {
    354                 async_wait_for(req, NULL);
     354                async_forget(req);
    355355                return retval;
    356356        }
     
    401401       
    402402        if (dretval != EOK) {
    403                 async_wait_for(req, NULL);
     403                async_forget(req);
    404404                return dretval;
    405405        }
     
    448448{
    449449        return loc_get_name_internal(LOC_SERVICE_GET_NAME, svc_id, name);
     450}
     451
     452/** Get service server name.
     453 *
     454 * Provided ID of a service, return the name of its server.
     455 *
     456 * @param svc_id        Service ID
     457 * @param name          Place to store pointer to new string. Caller should
     458 *                      free it using free().
     459 * @return              EOK on success or negative error code
     460 */
     461int loc_service_get_server_name(service_id_t svc_id, char **name)
     462{
     463        return loc_get_name_internal(LOC_SERVICE_GET_SERVER_NAME, svc_id, name);
    450464}
    451465
     
    471485       
    472486        if (retval != EOK) {
    473                 async_wait_for(req, NULL);
     487                async_forget(req);
    474488                return retval;
    475489        }
     
    520534       
    521535        if (retval != EOK) {
    522                 async_wait_for(req, NULL);
     536                async_forget(req);
    523537                return retval;
    524538        }
     
    683697               
    684698                if (rc != EOK) {
    685                         async_wait_for(req, NULL);
     699                        async_forget(req);
    686700                        free(devs);
    687701                        return 0;
     
    732746               
    733747                if (rc != EOK) {
    734                         async_wait_for(req, NULL);
     748                        async_forget(req);
    735749                        free(devs);
    736750                        return 0;
     
    760774       
    761775        if (rc != EOK) {
    762                 async_wait_for(req, NULL);
     776                async_forget(req);
    763777                return rc;
    764778        }
Note: See TracChangeset for help on using the changeset viewer.