Changeset c1694b6b in mainline for uspace/drv/intctl


Ignore:
Timestamp:
2017-12-08T21:03:35Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f77c1c9
Parents:
9eb1ff5
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
Message:

Add str_error() in numerous places.

Location:
uspace/drv/intctl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/intctl/apic/apic.c

    r9eb1ff5 rc1694b6b  
    4545#include <stdbool.h>
    4646#include <errno.h>
     47#include <str_error.h>
    4748#include <async.h>
    4849#include <stdio.h>
     
    237238        rc = ddf_fun_bind(fun_a);
    238239        if (rc != EOK) {
    239                 ddf_msg(LVL_ERROR, "Failed binding function 'a'. (%d)", rc);
     240                ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc));
    240241                goto error;
    241242        }
  • uspace/drv/intctl/i8259/i8259.c

    r9eb1ff5 rc1694b6b  
    4545#include <stdbool.h>
    4646#include <errno.h>
     47#include <str_error.h>
    4748#include <async.h>
    4849#include <stdio.h>
     
    170171        rc = ddf_fun_bind(fun_a);
    171172        if (rc != EOK) {
    172                 ddf_msg(LVL_ERROR, "Failed binding function 'a'. (%d)", rc);
     173                ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc));
    173174                goto error;
    174175        }
  • uspace/drv/intctl/icp-ic/icp-ic.c

    r9eb1ff5 rc1694b6b  
    4141#include <ddf/log.h>
    4242#include <errno.h>
     43#include <str_error.h>
    4344#include <ipc/irc.h>
    4445#include <stdint.h>
     
    136137        rc = ddf_fun_bind(fun_a);
    137138        if (rc != EOK) {
    138                 ddf_msg(LVL_ERROR, "Failed binding function 'a'. (%d)", rc);
     139                ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc));
    139140                goto error;
    140141        }
  • uspace/drv/intctl/obio/obio.c

    r9eb1ff5 rc1694b6b  
    4747#include <ddi.h>
    4848#include <errno.h>
     49#include <str_error.h>
    4950#include <inttypes.h>
    5051#include <ipc/irc.h>
     
    138139        rc = ddf_fun_bind(fun_a);
    139140        if (rc != EOK) {
    140                 ddf_msg(LVL_ERROR, "Failed binding function 'a'. (%d)", rc);
     141                ddf_msg(LVL_ERROR, "Failed binding function 'a': %s", str_error(rc));
    141142                goto error;
    142143        }
Note: See TracChangeset for help on using the changeset viewer.