Changeset 889cdb1 in mainline for uspace/lib


Ignore:
Timestamp:
2018-10-28T21:36:49Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
184f2f8a
Parents:
bf05c74
Message:

Always answer the IPC_M_PHONE_HUNGUP message

Location:
uspace/lib
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/bd.c

    rbf05c74 r889cdb1  
    207207
    208208                if (!IPC_GET_IMETHOD(call)) {
    209                         /* TODO: Handle hangup */
     209                        async_answer_0(&call, EOK);
    210210                        return;
    211211                }
  • uspace/lib/c/generic/inet.c

    rbf05c74 r889cdb1  
    241241
    242242                if (!IPC_GET_IMETHOD(call)) {
    243                         /* TODO: Handle hangup */
     243                        async_answer_0(&call, EOK);
    244244                        return;
    245245                }
  • uspace/lib/c/generic/inet/tcp.c

    rbf05c74 r889cdb1  
    825825                if (!IPC_GET_IMETHOD(call)) {
    826826                        /* Hangup*/
     827                        async_answer_0(&call, EOK);
    827828                        goto out;
    828829                }
  • uspace/lib/c/generic/inet/udp.c

    rbf05c74 r889cdb1  
    502502                if (!IPC_GET_IMETHOD(call)) {
    503503                        /* Hangup */
     504                        async_answer_0(&call, EOK);
    504505                        goto out;
    505506                }
  • uspace/lib/c/generic/inetping.c

    rbf05c74 r889cdb1  
    214214
    215215                if (!IPC_GET_IMETHOD(call)) {
    216                         /* TODO: Handle hangup */
     216                        async_answer_0(&call, EOK);
    217217                        return;
    218218                }
  • uspace/lib/c/generic/io/input.c

    rbf05c74 r889cdb1  
    173173
    174174                if (!IPC_GET_IMETHOD(call)) {
    175                         /* TODO: Handle hangup */
     175                        async_answer_0(&call, EOK);
    176176                        return;
    177177                }
  • uspace/lib/c/generic/iplink.c

    rbf05c74 r889cdb1  
    288288
    289289                if (!IPC_GET_IMETHOD(call)) {
    290                         /* TODO: Handle hangup */
     290                        async_answer_0(&call, EOK);
    291291                        return;
    292292                }
  • uspace/lib/c/generic/loc.c

    rbf05c74 r889cdb1  
    6363
    6464                if (!IPC_GET_IMETHOD(call)) {
    65                         /* TODO: Handle hangup */
     65                        async_answer_0(&call, EOK);
    6666                        return;
    6767                }
  • uspace/lib/drv/generic/driver.c

    rbf05c74 r889cdb1  
    345345                async_get_call(&call);
    346346
    347                 if (!IPC_GET_IMETHOD(call))
     347                if (!IPC_GET_IMETHOD(call)) {
     348                        async_answer_0(&call, EOK);
    348349                        break;
     350                }
    349351
    350352                switch (IPC_GET_IMETHOD(call)) {
  • uspace/lib/fs/libfs.c

    rbf05c74 r889cdb1  
    290290                async_get_call(&call);
    291291
    292                 if (!IPC_GET_IMETHOD(call))
     292                if (!IPC_GET_IMETHOD(call)) {
     293                        async_answer_0(&call, EOK);
    293294                        return;
     295                }
    294296
    295297                switch (IPC_GET_IMETHOD(call)) {
  • uspace/lib/graph/graph.c

    rbf05c74 r889cdb1  
    517517
    518518                if (!IPC_GET_IMETHOD(call)) {
    519                         async_answer_0(&call, EINVAL);
     519                        async_answer_0(&call, EOK);
    520520                        break;
    521521                }
     
    577577
    578578                if (!IPC_GET_IMETHOD(call)) {
    579                         async_answer_0(&call, EINVAL);
     579                        async_answer_0(&call, EOK);
    580580                        break;
    581581                }
Note: See TracChangeset for help on using the changeset viewer.