Changeset dc5c303 in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2023-12-28T13:59:23Z (22 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r42c2e65 rdc5c303 1 1 /* 2 * Copyright (c) 2023 Jiri Svoboda 2 3 * Copyright (c) 2010 Lenka Trochtova 3 4 * All rights reserved. … … 64 65 driver_list_t drivers_list; 65 66 dev_tree_t device_tree; 67 loc_srv_t *devman_srv; 66 68 67 69 static void devman_connection_device(ipc_call_t *icall, void *arg) … … 280 282 static bool devman_init(void) 281 283 { 284 errno_t rc; 285 282 286 log_msg(LOG_DEFAULT, LVL_DEBUG, "devman_init - looking for available drivers."); 283 287 … … 305 309 * not work. 306 310 */ 307 loc_server_register(NAME); 311 rc = loc_server_register(NAME, &devman_srv); 312 if (rc != EOK) { 313 log_msg(LOG_DEFAULT, LVL_FATAL, "Error registering devman server."); 314 return false; 315 } 308 316 309 317 return true;
Note:
See TracChangeset
for help on using the changeset viewer.