Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/gemini Fix inverted arguments in m...
details: https://anonhg.NetBSD.org/src/rev/6e3a9b7350f8
branches: trunk
changeset: 318486:6e3a9b7350f8
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Apr 26 19:33:02 2018 +0000
description:
Fix inverted arguments in m_gethdr().
diffstat:
sys/arch/arm/gemini/gemini_gmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8d14ef6a9fa6 -r 6e3a9b7350f8 sys/arch/arm/gemini/gemini_gmac.c
--- a/sys/arch/arm/gemini/gemini_gmac.c Thu Apr 26 19:27:04 2018 +0000
+++ b/sys/arch/arm/gemini/gemini_gmac.c Thu Apr 26 19:33:02 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_gmac.c,v 1.13 2017/06/01 02:45:05 chs Exp $ */
+/* $NetBSD: gemini_gmac.c,v 1.14 2018/04/26 19:33:02 maxv Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -49,7 +49,7 @@
#include <sys/gpio.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_gmac.c,v 1.13 2017/06/01 02:45:05 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_gmac.c,v 1.14 2018/04/26 19:33:02 maxv Exp $");
#define SWFREEQ_DESCS 256 /* one page worth */
#define HWFREEQ_DESCS 256 /* one page worth */
@@ -695,7 +695,7 @@
KASSERT(map->dm_mapsize == 0);
- m = m_gethdr(MT_DATA, M_DONTWAIT);
+ m = m_gethdr(M_DONTWAIT, MT_DATA);
if (m == NULL) {
gmac_mapcache_put(hqm->hqm_mc, map);
break;
Home |
Main Index |
Thread Index |
Old Index