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/fe033310b28e
branches:  trunk
changeset: 933938:fe033310b28e
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 a53882abf9b8 -r fe033310b28e 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