Changes in uspace/lib/ipcgfx/src/server.c [cdd6fc9:5fc8244] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ipcgfx/src/server.c
rcdd6fc9 r5fc8244 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 151 151 152 152 if (!async_share_out_receive(&call, &size, &flags)) { 153 async_answer_0(&call, EINVAL);154 153 async_answer_0(icall, EINVAL); 155 154 return; … … 158 157 /* Check size */ 159 158 if (size != PAGES2SIZE(SIZE2PAGES(dim.x * dim.y * sizeof(uint32_t)))) { 160 async_answer_0(&call, EINVAL);161 159 async_answer_0(icall, EINVAL); 162 160 return; … … 165 163 rc = async_share_out_finalize(&call, &pixels); 166 164 if (rc != EOK || pixels == AS_MAP_FAILED) { 167 async_answer_0(&call, ENOMEM);168 165 async_answer_0(icall, ENOMEM); 169 166 return;
Note:
See TracChangeset
for help on using the changeset viewer.