Changeset 36df27eb in mainline
- Timestamp:
- 2018-01-13T03:18:18Z (7 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)
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/ddi/ddi-bitmap.c
ra53ed3a r36df27eb 142 142 task->arch.iomapver++; 143 143 144 return 0;144 return EOK; 145 145 } 146 146 -
kernel/genarch/src/ddi/ddi-dummy.c
ra53ed3a r36df27eb 50 50 errno_t ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size) 51 51 { 52 return 0;52 return EOK; 53 53 } 54 54 … … 65 65 errno_t ddi_iospace_disable_arch(task_t *task, uintptr_t ioaddr, size_t size) 66 66 { 67 return 0;67 return EOK; 68 68 } 69 69 -
uspace/app/corecfg/corecfg.c
ra53ed3a r36df27eb 36 36 #include <errno.h> 37 37 #include <stdio.h> 38 #include <stdlib.h> 38 39 39 40 #define NAME "corecfg" -
uspace/app/download/main.c
ra53ed3a r36df27eb 243 243 } 244 244 245 return EOK;245 return 0; 246 246 error: 247 247 free(buf); -
uspace/app/getterm/getterm.c
ra53ed3a r36df27eb 37 37 #include <stdint.h> 38 38 #include <stdio.h> 39 #include <stdlib.h> 39 40 #include <task.h> 40 41 #include <str_error.h> -
uspace/app/kio/kio.c
ra53ed3a r36df27eb 253 253 rc = EOK; 254 254 255 return EOK;255 return rc; 256 256 } 257 257 -
uspace/app/sysinfo/sysinfo.c
ra53ed3a r36df27eb 90 90 fputs("')\n", stdout); 91 91 92 return EOK;92 return 0; 93 93 } 94 94 … … 109 109 fputs("')\n", stdout); 110 110 111 return EOK;111 return 0; 112 112 } 113 113 -
uspace/app/wifi_supplicant/wifi_supplicant.c
ra53ed3a r36df27eb 324 324 print_syntax(); 325 325 326 return EOK;326 return 0; 327 327 } 328 328 -
uspace/lib/c/generic/vfs/vfs.c
ra53ed3a r36df27eb 1279 1279 async_wait_for(req, &rc_orig); 1280 1280 1281 // XXX: Workaround for GCC diagnostics. 1282 *handle = -1; 1283 1281 1284 if (rc_orig != EOK) 1282 1285 return (errno_t) rc_orig; -
uspace/lib/c/include/stdlib.h
ra53ed3a r36df27eb 51 51 extern void exit(int) __attribute__((noreturn)); 52 52 53 #define EXIT_SUCCESS 0 54 #define EXIT_FAILURE -1 55 53 56 #endif 54 57 -
uspace/lib/drv/generic/driver.c
ra53ed3a r36df27eb 1009 1009 1010 1010 /* Never reached. */ 1011 return EOK;1011 return 0; 1012 1012 } 1013 1013 -
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.