Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci XXX unindent. Should be fixed properly by ...



details:   https://anonhg.NetBSD.org/src-all/rev/a9455f02b9ce
branches:  trunk
changeset: 932665:a9455f02b9ce
user:      Joerg Sonnenberger <joerg%bec.de@localhost>
date:      Thu Feb 20 15:17:19 2020 +0100

description:
XXX unindent. Should be fixed properly by using BUS_DMA_WAITOK

diffstat:

 sys/dev/pci/if_cas.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 59d11e44a5a6 -r a9455f02b9ce sys/dev/pci/if_cas.c
--- a/sys/dev/pci/if_cas.c      Mon Jan 13 19:25:57 2020 +0100
+++ b/sys/dev/pci/if_cas.c      Thu Feb 20 15:17:19 2020 +0100
@@ -795,8 +795,8 @@
                        /* XXX   need to check that bus_dmamem_alloc suceeded
                        if (sc->sc_rxsoft[i].rxs_dmaseg != NULL)
                        */
-                               bus_dmamem_free(sc->sc_dmatag,
-                                   &(sc->sc_rxsoft[i].rxs_dmaseg), 1);
+                       bus_dmamem_free(sc->sc_dmatag,
+                           &(sc->sc_rxsoft[i].rxs_dmaseg), 1);
                }
                bus_dmamap_unload(sc->sc_dmatag, sc->sc_cddmamap);
                /*FALLTHROUGH*/



Home | Main Index | Thread Index | Old Index