Clarify that dmamp is undefined if bus_dmamap_create(9) fails.

This commit is contained in:
dyoung 2009-02-20 00:10:57 +00:00
parent 90c7459808
commit 060fafc7cd

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bus_dma.9,v 1.45 2008/05/02 21:36:23 martin Exp $
.\" $NetBSD: bus_dma.9,v 1.46 2009/02/20 00:10:57 dyoung Exp $
.\"
.\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -211,6 +211,8 @@ This is a pointer to a bus_dmamap_t.
A DMA map will be allocated and pointed to by
.Fa dmamp
upon successful completion of this routine.
.Fa dmamp
is undefined if this routine fails.
.El
.Pp
Behavior is not defined if invalid arguments are passed to