Changeset 428bd07 in mainline
- Timestamp:
- 2013-03-12T23:04:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aaceebc4
- Parents:
- a05f2af
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/root/root.c
ra05f2af r428bd07 208 208 /* 209 209 * Register virtual devices root. 210 * We ignoreerror occurrence because virtual devices shall not be210 * We warn on error occurrence because virtual devices shall not be 211 211 * vital for the system. 212 212 */ 213 (void) add_virtual_root_fun(dev); 213 int res = add_virtual_root_fun(dev); 214 if (res != EOK) 215 ddf_msg(LVL_WARN, "Failed to add virtual child."); 214 216 215 217 /* Register root device's children. */ 216 intres = add_platform_fun(dev);218 res = add_platform_fun(dev); 217 219 if (EOK != res) 218 220 ddf_msg(LVL_ERROR, "Failed adding child device for platform."); -
uspace/srv/hid/compositor/compositor.c
ra05f2af r428bd07 2092 2092 /* Establish input bidirectional connection. */ 2093 2093 rc = input_connect(input_svc); 2094 if (rc != EOK) 2094 if (rc != EOK) { 2095 printf("%s: Failed to connect to input service.\n", NAME); 2095 2096 return rc; 2097 } 2096 2098 2097 2099 /* Create viewports and connect them to visualizers. */ … … 2099 2101 rc = loc_category_get_id("visualizer", &cat_id, IPC_FLAG_BLOCKING); 2100 2102 if (rc != EOK) { 2103 printf("%s: Failed to get visualizer category.\n", NAME); 2101 2104 input_disconnect(); 2102 2105 return -1; … … 2107 2110 rc = loc_category_get_svcs(cat_id, &svcs, &svcs_cnt); 2108 2111 if (rc != EOK || svcs_cnt == 0) { 2112 printf("%s: Failed to get visualizer category services.\n", NAME); 2109 2113 input_disconnect(); 2110 2114 return -1; … … 2123 2127 2124 2128 if (list_empty(&viewport_list)) { 2129 printf("%s: Failed to get view ports.\n", NAME); 2125 2130 input_disconnect(); 2126 2131 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.