Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen Make Xen kernels compile without DIAGNOSTIC
details: https://anonhg.NetBSD.org/src/rev/7cb0d55a5d63
branches: trunk
changeset: 332431:7cb0d55a5d63
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Sep 21 12:46:15 2014 +0000
description:
Make Xen kernels compile without DIAGNOSTIC
diffstat:
sys/arch/xen/x86/hypervisor_machdep.c | 6 +++---
sys/arch/xen/xen/clock.c | 6 +++---
sys/arch/xen/xen/xbdback_xenbus.c | 6 +++---
sys/arch/xen/xenbus/xenbus_client.c | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (108 lines):
diff -r e1c0dbf16694 -r 7cb0d55a5d63 sys/arch/xen/x86/hypervisor_machdep.c
--- a/sys/arch/xen/x86/hypervisor_machdep.c Sun Sep 21 10:41:22 2014 +0000
+++ b/sys/arch/xen/x86/hypervisor_machdep.c Sun Sep 21 12:46:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor_machdep.c,v 1.27 2013/01/13 21:01:05 bouyer Exp $ */
+/* $NetBSD: hypervisor_machdep.c,v 1.28 2014/09/21 12:46:15 bouyer Exp $ */
/*
*
@@ -54,7 +54,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor_machdep.c,v 1.27 2013/01/13 21:01:05 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor_machdep.c,v 1.28 2014/09/21 12:46:15 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -253,7 +253,7 @@
volatile shared_info_t *s = HYPERVISOR_shared_info;
struct cpu_info *ci;
volatile struct vcpu_info *vci;
- int level;
+ int level __diagused;
ci = curcpu();
vci = ci->ci_vcpu;
diff -r e1c0dbf16694 -r 7cb0d55a5d63 sys/arch/xen/xen/clock.c
--- a/sys/arch/xen/xen/clock.c Sun Sep 21 10:41:22 2014 +0000
+++ b/sys/arch/xen/xen/clock.c Sun Sep 21 12:46:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.62 2012/02/17 19:00:45 bouyer Exp $ */
+/* $NetBSD: clock.c,v 1.63 2014/09/21 12:46:15 bouyer Exp $ */
/*
*
@@ -29,7 +29,7 @@
#include "opt_xen.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.62 2012/02/17 19:00:45 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.63 2014/09/21 12:46:15 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -419,7 +419,7 @@
void
xen_initclocks(void)
{
- int err;
+ int err __diagused;
static bool tcdone = false;
struct cpu_info *ci = curcpu();
diff -r e1c0dbf16694 -r 7cb0d55a5d63 sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Sun Sep 21 10:41:22 2014 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Sun Sep 21 12:46:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xbdback_xenbus.c,v 1.59 2013/11/06 06:23:15 mrg Exp $ */
+/* $NetBSD: xbdback_xenbus.c,v 1.60 2014/09/21 12:46:15 bouyer Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.59 2013/11/06 06:23:15 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.60 2014/09/21 12:46:15 bouyer Exp $");
#include <sys/atomic.h>
#include <sys/buf.h>
@@ -1623,7 +1623,7 @@
while(!SLIST_EMPTY(&xbd_io->xio_rq)) {
struct xbdback_fragment *xbd_fr;
struct xbdback_request *xbd_req;
- struct xbdback_instance *rxbdi;
+ struct xbdback_instance *rxbdi __diagused;
int error;
xbd_fr = SLIST_FIRST(&xbd_io->xio_rq);
diff -r e1c0dbf16694 -r 7cb0d55a5d63 sys/arch/xen/xenbus/xenbus_client.c
--- a/sys/arch/xen/xenbus/xenbus_client.c Sun Sep 21 10:41:22 2014 +0000
+++ b/sys/arch/xen/xenbus/xenbus_client.c Sun Sep 21 12:46:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_client.c,v 1.12 2014/03/27 18:22:56 christos Exp $ */
+/* $NetBSD: xenbus_client.c,v 1.13 2014/09/21 12:46:15 bouyer Exp $ */
/******************************************************************************
* Client-facing interface for the Xenbus driver. In other words, the
* interface between the Xenbus and the device-specific code, be it the
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_client.c,v 1.12 2014/03/27 18:22:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_client.c,v 1.13 2014/09/21 12:46:15 bouyer Exp $");
#if 0
#define DPRINTK(fmt, args...) \
@@ -159,7 +159,7 @@
_dev_error(struct xenbus_device *dev, int err, const char *fmt,
va_list ap)
{
- int ret;
+ int ret __diagused;
unsigned int len;
char *printf_buffer = NULL, *path_buffer = NULL;
Home |
Main Index |
Thread Index |
Old Index