Changeset c1694b6b in mainline for uspace/drv/platform/sun4v/sun4v.c


Ignore:
Timestamp:
2017-12-08T21:03:35Z (6 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/sun4v/sun4v.c

    r9eb1ff5 rc1694b6b  
    4141#include <ddf/log.h>
    4242#include <errno.h>
     43#include <str_error.h>
    4344#include <ops/hw_res.h>
    4445#include <ops/pio_window.h>
     
    228229        rc = sysinfo_get_value("niagara.inbuf.address", &paddr);
    229230        if (rc != EOK) {
    230                 ddf_msg(LVL_ERROR, "niagara.inbuf.address not set (%d)", rc);
     231                ddf_msg(LVL_ERROR, "niagara.inbuf.address not set: %s", str_error(rc));
    231232                return rc;
    232233        }
     
    236237        rc = sysinfo_get_value("niagara.outbuf.address", &paddr);
    237238        if (rc != EOK) {
    238                 ddf_msg(LVL_ERROR, "niagara.outbuf.address not set (%d)", rc);
     239                ddf_msg(LVL_ERROR, "niagara.outbuf.address not set: %s", str_error(rc));
    239240                return rc;
    240241        }
Note: See TracChangeset for help on using the changeset viewer.