From efb8222642d93c23cfe06864157a9f3553075c97 Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 2 May 2002 16:50:39 +0000 Subject: [PATCH] Fix error reporting in the bus_dmamap_load_mbuf() routines. --- 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(-) diff --git a/sys/arch/arm/xscale/i80312_pci_dma.c b/sys/arch/arm/xscale/i80312_pci_dma.c index 6d5644ee6c04..6bdb00f84452 100644 --- a/sys/arch/arm/xscale/i80312_pci_dma.c +++ b/sys/arch/arm/xscale/i80312_pci_dma.c @@ -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 @@ i80312_pci_dmamap_load_mbuf(bus_dma_tag_t t, bus_dmamap_t map, map->_dm_proc = NULL; /* always kernel */ } - return (0); + return (error); } /* diff --git a/sys/arch/arm/xscale/i80321_pci_dma.c b/sys/arch/arm/xscale/i80321_pci_dma.c index f574bfbf71da..ef1523087402 100644 --- a/sys/arch/arm/xscale/i80321_pci_dma.c +++ b/sys/arch/arm/xscale/i80321_pci_dma.c @@ -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 @@ i80321_pci_dmamap_load_mbuf(bus_dma_tag_t t, bus_dmamap_t map, map->_dm_proc = NULL; /* always kernel */ } - return (0); + return (error); } /*