IPC return values are always errno constants. Adjust types to reflect that.
commit25a179efc4ecca45aa90793992b6c1c2743fd07f
authorJiří Zárevúcky <zarevucky.jiri@gmail.com>
Wed, 20 Dec 2017 19:51:45 +0000 (20 20:51 +0100)
committerJiří Zárevúcky <zarevucky.jiri@gmail.com>
Wed, 20 Dec 2017 19:51:45 +0000 (20 20:51 +0100)
treee424af239b5a9d5e8561541de30c749070ecc984
parentd4a829e15ff53d4529f6faccc7aa01dc9efccd08
IPC return values are always errno constants. Adjust types to reflect that.

In principle, IPC server is not allowed to return non-errno values via
the "main" return value, because kernel interprets it (e.g. EHANGUP).
It's still possible to return arbitrary additional return values alongside EOK,
which are not interpreted in normal communication.
63 files changed:
uspace/app/trace/ipcp.c
uspace/app/trace/trace.c
uspace/drv/bus/usb/vhc/conndev.c
uspace/lib/c/arch/ia32/include/libarch/syscall.h
uspace/lib/c/generic/async.c
uspace/lib/c/generic/bd.c
uspace/lib/c/generic/clipboard.c
uspace/lib/c/generic/device/clock_dev.c
uspace/lib/c/generic/device/led_dev.c
uspace/lib/c/generic/devman.c
uspace/lib/c/generic/dnsr.c
uspace/lib/c/generic/inet.c
uspace/lib/c/generic/inet/tcp.c
uspace/lib/c/generic/inet/udp.c
uspace/lib/c/generic/inetcfg.c
uspace/lib/c/generic/inetping.c
uspace/lib/c/generic/io/chardev.c
uspace/lib/c/generic/io/console.c
uspace/lib/c/generic/io/log.c
uspace/lib/c/generic/io/logctl.c
uspace/lib/c/generic/io/output.c
uspace/lib/c/generic/io/visualizer.c
uspace/lib/c/generic/io/window.c
uspace/lib/c/generic/ipc.c
uspace/lib/c/generic/iplink.c
uspace/lib/c/generic/iplink_srv.c
uspace/lib/c/generic/loader.c
uspace/lib/c/generic/loc.c
uspace/lib/c/generic/ns.c
uspace/lib/c/generic/task.c
uspace/lib/c/generic/vbd.c
uspace/lib/c/generic/vfs/vfs.c
uspace/lib/c/generic/vol.c
uspace/lib/c/include/async.h
uspace/lib/c/include/ipc/ipc.h
uspace/lib/drv/generic/driver.c
uspace/lib/drv/generic/remote_ahci.c
uspace/lib/drv/generic/remote_ieee80211.c
uspace/lib/drv/generic/remote_nic.c
uspace/lib/drv/generic/remote_usb.c
uspace/lib/drv/generic/remote_usbhc.c
uspace/lib/drv/generic/remote_usbhid.c
uspace/lib/hound/src/protocol.c
uspace/lib/nic/src/nic_ev.c
uspace/lib/usbvirt/src/ipc_hc.c
uspace/srv/bd/vbd/vbd.c
uspace/srv/clipboard/clipboard.c
uspace/srv/devman/client_conn.c
uspace/srv/devman/driver.c
uspace/srv/devman/drv_conn.c
uspace/srv/fs/locfs/locfs_ops.c
uspace/srv/locsrv/locsrv.c
uspace/srv/net/dnsrsrv/dnsrsrv.c
uspace/srv/net/inetsrv/inetcfg.c
uspace/srv/net/inetsrv/inetping.c
uspace/srv/net/inetsrv/inetsrv.c
uspace/srv/ns/ns.c
uspace/srv/ns/service.c
uspace/srv/vfs/vfs_file.c
uspace/srv/vfs/vfs_lookup.c
uspace/srv/vfs/vfs_node.c
uspace/srv/vfs/vfs_ops.c
uspace/srv/volsrv/volsrv.c