aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2018-07-30 15:19:59 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2018-07-30 15:19:59 +0000
commitbdafaf0aee7c1644fa8a6a39e4045dd0becdf5fd (patch)
tree14cc2068c4543cd25355ff6d7ef1c4b5ab47cc5b
parentcf40916b6305e48035ff0230adb48add81c7b6b1 (diff)
Notes
-rw-r--r--sys/dev/sound/pci/hda/hdac.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 865656ae1862..fd05d48026f3 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -569,7 +569,7 @@ hdac_dma_alloc(struct hdac_softc *sc, struct hdac_dma *dma, bus_size_t size)
NULL, /* lockfuncarg */
&dma->dma_tag); /* dmat */
if (result != 0) {
- device_printf(sc->dev, "%s: bus_dma_tag_create failed (%x)\n",
+ device_printf(sc->dev, "%s: bus_dma_tag_create failed (%d)\n",
__func__, result);
goto hdac_dma_alloc_fail;
}
@@ -582,7 +582,7 @@ hdac_dma_alloc(struct hdac_softc *sc, struct hdac_dma *dma, bus_size_t size)
((sc->flags & HDAC_F_DMA_NOCACHE) ? BUS_DMA_NOCACHE : 0),
&dma->dma_map);
if (result != 0) {
- device_printf(sc->dev, "%s: bus_dmamem_alloc failed (%x)\n",
+ device_printf(sc->dev, "%s: bus_dmamem_alloc failed (%d)\n",
__func__, result);
goto hdac_dma_alloc_fail;
}
@@ -597,7 +597,7 @@ hdac_dma_alloc(struct hdac_softc *sc, struct hdac_dma *dma, bus_size_t size)
if (result != 0 || dma->dma_paddr == 0) {
if (result == 0)
result = ENOMEM;
- device_printf(sc->dev, "%s: bus_dmamem_load failed (%x)\n",
+ device_printf(sc->dev, "%s: bus_dmamem_load failed (%d)\n",
__func__, result);
goto hdac_dma_alloc_fail;
}
@@ -718,7 +718,7 @@ hdac_irq_alloc(struct hdac_softc *sc)
NULL, hdac_intr_handler, sc, &irq->irq_handle);
if (result != 0) {
device_printf(sc->dev,
- "%s: Unable to setup interrupt handler (%x)\n",
+ "%s: Unable to setup interrupt handler (%d)\n",
__func__, result);
goto hdac_irq_alloc_fail;
}
@@ -1285,7 +1285,7 @@ hdac_attach(device_t dev)
NULL, /* lockfuncarg */
&sc->chan_dmat); /* dmat */
if (result != 0) {
- device_printf(dev, "%s: bus_dma_tag_create failed (%x)\n",
+ device_printf(dev, "%s: bus_dma_tag_create failed (%d)\n",
__func__, result);
goto hdac_attach_fail;
}