Changeset cdd6fc9 in mainline for uspace/lib/device


Ignore:
Timestamp:
2023-01-03T20:38:44Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c54869
Parents:
df54aa8
Message:

Add missing replies in IPC error paths

Location:
uspace/lib/device/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/device/src/bd_srv.c

    rdf54aa8 rcdd6fc9  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5656        ipc_call_t rcall;
    5757        if (!async_data_read_receive(&rcall, &size)) {
     58                async_answer_0(&rcall, EINVAL);
    5859                async_answer_0(call, EINVAL);
    5960                return;
     
    99100        ipc_call_t rcall;
    100101        if (!async_data_read_receive(&rcall, &size)) {
     102                async_answer_0(&rcall, EINVAL);
    101103                async_answer_0(call, EINVAL);
    102104                return;
  • uspace/lib/device/src/io/chardev_srv.c

    rdf54aa8 rcdd6fc9  
    11/*
    2  * Copyright (c) 2014 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5555        ipc_call_t call;
    5656        if (!async_data_read_receive(&call, &size)) {
     57                async_answer_0(&call, EINVAL);
    5758                async_answer_0(icall, EINVAL);
    5859                return;
Note: See TracChangeset for help on using the changeset viewer.