Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Let ahc_createdmamem() return -1 on error instead...
details: https://anonhg.NetBSD.org/src/rev/9bf397e9857e
branches: trunk
changeset: 580864:9bf397e9857e
user: augustss <augustss%NetBSD.org@localhost>
date: Thu May 12 06:27:44 2005 +0000
description:
Let ahc_createdmamem() return -1 on error instead of an error code, since
the users of that function test on <0 to look for an error.
Again, from a person that wishes to remain anonymous.
diffstat:
sys/dev/ic/aic7xxx.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r aa27ae7af9bf -r 9bf397e9857e sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c Thu May 12 06:21:01 2005 +0000
+++ b/sys/dev/ic/aic7xxx.c Thu May 12 06:27:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx.c,v 1.112 2005/02/27 00:27:00 perry Exp $ */
+/* $NetBSD: aic7xxx.c,v 1.113 2005/05/12 06:27:44 augustss Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.112 2005/02/27 00:27:00 perry Exp $
+ * $Id: aic7xxx.c,v 1.113 2005/05/12 06:27:44 augustss Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
*
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.112 2005/02/27 00:27:00 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.113 2005/05/12 06:27:44 augustss Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -7429,7 +7429,7 @@
break;
}
- return error;
+ return -1;
}
static void
Home |
Main Index |
Thread Index |
Old Index