Changeset cdd6fc9 in mainline for uspace/lib/device/src/bd_srv.c


Ignore:
Timestamp:
2023-01-03T20:38:44Z (16 months 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

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.