Changeset dd8ab1c in mainline for uspace/drv/char
- Timestamp:
- 2017-12-10T21:08:11Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68e5406
- Parents:
- 1afa94d
- Location:
- uspace/drv/char
- Files:
-
- 3 edited
-
ns8250/ns8250.c (modified) (2 diffs)
-
pl050/pl050.c (modified) (1 diff)
-
sun4v-con/sun4v-con.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r1afa94d rdd8ab1c 40 40 #include <stdio.h> 41 41 #include <errno.h> 42 #include <str_error.h> 42 43 #include <stdbool.h> 43 44 #include <fibril_synch.h> … … 887 888 if (rc != EOK) { 888 889 ddf_msg(LVL_ERROR, "Failed to enable the interrupt. Error code = " 889 "% d.", rc);890 "%s.", str_error_name(rc)); 890 891 goto fail; 891 892 } -
uspace/drv/char/pl050/pl050.c
r1afa94d rdd8ab1c 217 217 res.irqs.irqs[0], pl050_interrupt, &pl050_irq_code, &irq_cap); 218 218 if (rc != EOK) { 219 ddf_msg(LVL_ERROR, "Failed registering interrupt handler. (% d)",220 rc);219 ddf_msg(LVL_ERROR, "Failed registering interrupt handler. (%s)", 220 str_error_name(rc)); 221 221 goto error; 222 222 } -
uspace/drv/char/sun4v-con/sun4v-con.c
r1afa94d rdd8ab1c 36 36 #include <ddi.h> 37 37 #include <errno.h> 38 #include <str_error.h> 38 39 #include <io/chardev_srv.h> 39 40 #include <stdbool.h> … … 92 93 (void *) &con->input_buffer); 93 94 if (rc != EOK) { 94 ddf_msg(LVL_ERROR, "Error mapping memory: % d", rc);95 ddf_msg(LVL_ERROR, "Error mapping memory: %s", str_error_name(rc)); 95 96 goto error; 96 97 } … … 101 102 (void *) &con->output_buffer); 102 103 if (rc != EOK) { 103 ddf_msg(LVL_ERROR, "Error mapping memory: % d", rc);104 ddf_msg(LVL_ERROR, "Error mapping memory: %s", str_error_name(rc)); 104 105 return rc; 105 106 }
Note:
See TracChangeset
for help on using the changeset viewer.
