Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Fix error reporting in the bus_dmamap_lo...



details:   https://anonhg.NetBSD.org/src/rev/c1df8e9d76b5
branches:  trunk
changeset: 526349:c1df8e9d76b5
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu May 02 16:50:39 2002 +0000

description:
Fix error reporting in the bus_dmamap_load_mbuf() routines.

diffstat:

 sys/arch/arm/xscale/i80312_pci_dma.c |  4 ++--
 sys/arch/arm/xscale/i80321_pci_dma.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ef144b358310 -r c1df8e9d76b5 sys/arch/arm/xscale/i80312_pci_dma.c
--- a/sys/arch/arm/xscale/i80312_pci_dma.c      Thu May 02 16:48:42 2002 +0000
+++ b/sys/arch/arm/xscale/i80312_pci_dma.c      Thu May 02 16:50:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80312_pci_dma.c,v 1.2 2002/01/25 20:57:43 thorpej Exp $       */
+/*     $NetBSD: i80312_pci_dma.c,v 1.3 2002/05/02 16:50:39 thorpej Exp $       */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -265,7 +265,7 @@
                map->_dm_proc = NULL;   /* always kernel */
        }
 
-       return (0);
+       return (error);
 }
 
 /*
diff -r ef144b358310 -r c1df8e9d76b5 sys/arch/arm/xscale/i80321_pci_dma.c
--- a/sys/arch/arm/xscale/i80321_pci_dma.c      Thu May 02 16:48:42 2002 +0000
+++ b/sys/arch/arm/xscale/i80321_pci_dma.c      Thu May 02 16:50:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321_pci_dma.c,v 1.2 2002/03/27 23:17:03 thorpej Exp $       */
+/*     $NetBSD: i80321_pci_dma.c,v 1.3 2002/05/02 16:50:40 thorpej Exp $       */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -266,7 +266,7 @@
                map->_dm_proc = NULL;   /* always kernel */
        }
 
-       return (0);
+       return (error);
 }
 
 /*



Home | Main Index | Thread Index | Old Index