Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 use __func__
details: https://anonhg.NetBSD.org/src/rev/b9bbdcda437f
branches: trunk
changeset: 792167:b9bbdcda437f
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 24 15:42:56 2013 +0000
description:
use __func__
diffstat:
sys/arch/x86/x86/bus_dma.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r e97dcb76d41f -r b9bbdcda437f sys/arch/x86/x86/bus_dma.c
--- a/sys/arch/x86/x86/bus_dma.c Tue Dec 24 15:06:39 2013 +0000
+++ b/sys/arch/x86/x86/bus_dma.c Tue Dec 24 15:42:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.70 2013/07/02 22:39:45 christos Exp $ */
+/* $NetBSD: bus_dma.c,v 1.71 2013/12/24 15:42:56 christos Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2007 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.70 2013/07/02 22:39:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.71 2013/12/24 15:42:56 christos Exp $");
/*
* The following is included because _bus_dma_uiomove is derived from
@@ -802,11 +802,11 @@
#ifdef DIAGNOSTIC
if ((ops & (BUS_DMASYNC_PREWRITE|BUS_DMASYNC_POSTREAD)) != 0) {
if (offset >= map->dm_mapsize)
- panic("_bus_dmamap_sync: bad offset 0x%jx >= 0x%jx",
+ panic("%s: bad offset 0x%jx >= 0x%jx", __func__,
(intmax_t)offset, (intmax_t)map->dm_mapsize);
if ((offset + len) > map->dm_mapsize)
- panic("_bus_dmamap_sync: bad length 0x%jx + 0x%jx "
- "> 0x%jx", (intmax_t)offset, (intmax_t)len,
+ panic("%s: bad length 0x%jx + 0x%jx > 0x%jx", __func__,
+ (intmax_t)offset, (intmax_t)len,
(intmax_t)map->dm_mapsize);
}
#endif
Home |
Main Index |
Thread Index |
Old Index