[rtems-libbsd commit] Revert white space changes

Sebastian Huber sebh at rtems.org
Wed Jun 22 15:18:49 UTC 2022


Module:    rtems-libbsd
Branch:    6-freebsd-12
Commit:    0761774abddd298e9631f6309d355c68fe109422
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=0761774abddd298e9631f6309d355c68fe109422

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon May 23 17:25:02 2022 +0200

Revert white space changes

---

 freebsd/sys/dev/xdma/xdma_sg.c  | 6 +++---
 freebsd/sys/dev/xilinx/if_xae.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/freebsd/sys/dev/xdma/xdma_sg.c b/freebsd/sys/dev/xdma/xdma_sg.c
index 50057e89..f0e5f187 100644
--- a/freebsd/sys/dev/xdma/xdma_sg.c
+++ b/freebsd/sys/dev/xdma/xdma_sg.c
@@ -117,7 +117,7 @@ xchan_bufs_alloc_reserved(xdma_channel_t *xchan)
 			xchan_bufs_free_reserved(xchan);
 			return (ENOMEM);
 		}
-
+		
 		xr->buf.size = size;
 		xr->buf.paddr = addr;
 		xr->buf.vaddr = kva_alloc(size);
@@ -350,10 +350,10 @@ xchan_seg_done(xdma_channel_t *xchan,
 	if (b->nsegs_left == 0) {
 		if (xchan->caps & XCHAN_CAP_BUSDMA) {
 			if (xr->direction == XDMA_MEM_TO_DEV)
-				bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
+				bus_dmamap_sync(xchan->dma_tag_bufs, b->map, 
 				    BUS_DMASYNC_POSTWRITE);
 			else
-				bus_dmamap_sync(xchan->dma_tag_bufs, b->map,
+				bus_dmamap_sync(xchan->dma_tag_bufs, b->map, 
 				    BUS_DMASYNC_POSTREAD);
 			bus_dmamap_unload(xchan->dma_tag_bufs, b->map);
 		} else {
diff --git a/freebsd/sys/dev/xilinx/if_xae.c b/freebsd/sys/dev/xilinx/if_xae.c
index e01a3abe..9b05ae1b 100644
--- a/freebsd/sys/dev/xilinx/if_xae.c
+++ b/freebsd/sys/dev/xilinx/if_xae.c
@@ -792,7 +792,7 @@ setup_xdma(struct xae_softc *sc)
 
 	dev = sc->dev;
 
-	/* Get xDMA controller */
+	/* Get xDMA controller */   
 	sc->xdma_tx = xdma_ofw_get(sc->dev, "tx");
 	if (sc->xdma_tx == NULL) {
 		device_printf(dev, "Could not find DMA controller.\n");



More information about the vc mailing list