Changeset 36df27eb in mainline for uspace/srv
- Timestamp:
- 2018-01-13T03:18:18Z (8 years ago)
- Parents:
- a53ed3a (diff), 08d4ea2 (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:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:18:18)
- git-committer:
- GitHub <noreply@…> (2018-01-13 03:18:18)
- Location:
- uspace/srv
- Files:
-
- 17 edited
-
audio/hound/main.c (modified) (3 diffs)
-
bd/file_bd/file_bd.c (modified) (1 diff)
-
bd/sata_bd/sata_bd.c (modified) (1 diff)
-
fs/cdfs/cdfs.c (modified) (1 diff)
-
fs/exfat/exfat.c (modified) (1 diff)
-
fs/ext4fs/ext4fs.c (modified) (1 diff)
-
fs/fat/fat.c (modified) (1 diff)
-
fs/locfs/locfs.c (modified) (1 diff)
-
fs/tmpfs/tmpfs.c (modified) (1 diff)
-
fs/udf/udf.c (modified) (1 diff)
-
hid/compositor/compositor.c (modified) (2 diffs)
-
hid/isdv4_tablet/main.c (modified) (1 diff)
-
hid/rfb/main.c (modified) (1 diff)
-
hid/s3c24xx_ts/s3c24xx_ts.c (modified) (2 diffs)
-
hw/char/s3c24xx_uart/s3c24xx_uart.c (modified) (2 diffs)
-
ns/ns.c (modified) (1 diff)
-
test/chardev-test/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/main.c
ra53ed3a r36df27eb 80 80 log_fatal("Failed to initialize hound structure: %s", 81 81 str_error(ret)); 82 return -ret;82 return ret; 83 83 } 84 84 … … 91 91 if (ret != EOK) { 92 92 log_fatal("Failed to register server: %s", str_error(ret)); 93 return -ret;93 return ret; 94 94 } 95 95 … … 99 99 str_error(ret)); 100 100 hound_server_unregister(id); 101 return -ret;101 return ret; 102 102 } 103 103 log_info("Running with service id %" PRIun, id); -
uspace/srv/bd/file_bd/file_bd.c
ra53ed3a r36df27eb 47 47 #include <stddef.h> 48 48 #include <stdint.h> 49 #include <stdlib.h> 49 50 #include <errno.h> 50 51 #include <str_error.h> -
uspace/srv/bd/sata_bd/sata_bd.c
ra53ed3a r36df27eb 258 258 rc = get_sata_disks(); 259 259 if (rc != EOK) { 260 // TODO: log the error260 printf(NAME ": Cannot find SATA disks: %s.\n", str_error(rc)); 261 261 return rc; 262 262 } -
uspace/srv/fs/cdfs/cdfs.c
ra53ed3a r36df27eb 43 43 #include <str_error.h> 44 44 #include <stdio.h> 45 #include <stdlib.h> 45 46 #include <libfs.h> 46 47 #include "cdfs.h" -
uspace/srv/fs/exfat/exfat.c
ra53ed3a r36df27eb 46 46 #include <task.h> 47 47 #include <stdio.h> 48 #include <stdlib.h> 48 49 #include <libfs.h> 49 50 #include "../../vfs/vfs.h" -
uspace/srv/fs/ext4fs/ext4fs.c
ra53ed3a r36df27eb 40 40 #include <ns.h> 41 41 #include <stdio.h> 42 #include <stdlib.h> 42 43 #include <task.h> 43 44 #include <ipc/services.h> -
uspace/srv/fs/fat/fat.c
ra53ed3a r36df27eb 46 46 #include <task.h> 47 47 #include <stdio.h> 48 #include <stdlib.h> 48 49 #include <libfs.h> 49 50 #include "../../vfs/vfs.h" -
uspace/srv/fs/locfs/locfs.c
ra53ed3a r36df27eb 40 40 41 41 #include <stdio.h> 42 #include <stdlib.h> 42 43 #include <ipc/services.h> 43 44 #include <ns.h> -
uspace/srv/fs/tmpfs/tmpfs.c
ra53ed3a r36df27eb 48 48 #include <str_error.h> 49 49 #include <stdio.h> 50 #include <stdlib.h> 50 51 #include <task.h> 51 52 #include <libfs.h> -
uspace/srv/fs/udf/udf.c
ra53ed3a r36df27eb 42 42 #include <errno.h> 43 43 #include <str_error.h> 44 #include <stdlib.h> 44 45 #include <task.h> 45 46 #include <libfs.h> -
uspace/srv/hid/compositor/compositor.c
ra53ed3a r36df27eb 2254 2254 if (rc != EOK) { 2255 2255 printf("%s: Unable to register server (%s)\n", NAME, str_error(rc)); 2256 return -1;2256 return rc; 2257 2257 } 2258 2258 … … 2272 2272 char winreg[LOC_NAME_MAXLEN + 1]; 2273 2273 snprintf(winreg, LOC_NAME_MAXLEN, "%s%s/winreg", NAMESPACE, server_name); 2274 if (loc_service_register(winreg, &winreg_id) != EOK) { 2274 rc = loc_service_register(winreg, &winreg_id); 2275 if (rc != EOK) { 2275 2276 printf("%s: Unable to register service %s\n", NAME, winreg); 2276 return -1;2277 return rc; 2277 2278 } 2278 2279 -
uspace/srv/hid/isdv4_tablet/main.c
ra53ed3a r36df27eb 320 320 service_id_t service_id; 321 321 char *service_name; 322 rc = asprintf(&service_name, "mouse/isdv4-%" PRIun, svc_id); 323 if (rc < 0) { 322 if (asprintf(&service_name, "mouse/isdv4-%" PRIun, svc_id) < 0) { 324 323 printf(NAME ": Unable to create service name\n"); 325 return rc;324 return ENOMEM; 326 325 } 327 326 -
uspace/srv/hid/rfb/main.c
ra53ed3a r36df27eb 224 224 225 225 char *service_name; 226 rc = asprintf(&service_name, "rfb/%s", rfb_name); 227 if (rc < 0) { 226 if (asprintf(&service_name, "rfb/%s", rfb_name) < 0) { 228 227 printf(NAME ": Unable to create service name\n"); 229 return rc;228 return ENOMEM; 230 229 } 231 230 -
uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
ra53ed3a r36df27eb 95 95 return -1; 96 96 97 if (s3c24xx_ts_init(ts) != EOK)97 if (s3c24xx_ts_init(ts) != 0) 98 98 return -1; 99 99 … … 141 141 s3c24xx_ts_wait_for_int_mode(ts, updn_down); 142 142 143 return EOK;143 return 0; 144 144 } 145 145 -
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
ra53ed3a r36df27eb 92 92 return -1; 93 93 94 if (s3c24xx_uart_init(uart) != EOK)94 if (s3c24xx_uart_init(uart) != 0) 95 95 return -1; 96 96 … … 187 187 uart->cds.sarg = uart; 188 188 189 return EOK;189 return 0; 190 190 } 191 191 -
uspace/srv/ns/ns.c
ra53ed3a r36df27eb 42 42 #include <abi/ipc/interfaces.h> 43 43 #include <stdio.h> 44 #include <stdlib.h> 44 45 #include <errno.h> 45 46 #include <macros.h> -
uspace/srv/test/chardev-test/main.c
ra53ed3a r36df27eb 35 35 #include <mem.h> 36 36 #include <stdio.h> 37 #include <stdlib.h> 37 38 #include <task.h> 38 39
Note:
See TracChangeset
for help on using the changeset viewer.
