Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump Add missing __diagused in rump code
details: https://anonhg.NetBSD.org/src/rev/c0e4c1bed36c
branches: trunk
changeset: 329557:c0e4c1bed36c
user: justin <justin%NetBSD.org@localhost>
date: Wed May 28 20:57:22 2014 +0000
description:
Add missing __diagused in rump code
diffstat:
sys/rump/librump/rumpkern/emul.c | 6 +++---
sys/rump/librump/rumpvfs/rumpfs.c | 6 +++---
sys/rump/net/lib/libshmif/if_shmem.c | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 114d85aca1ba -r c0e4c1bed36c sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c Wed May 28 19:19:33 2014 +0000
+++ b/sys/rump/librump/rumpkern/emul.c Wed May 28 20:57:22 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emul.c,v 1.165 2014/04/25 19:56:01 pooka Exp $ */
+/* $NetBSD: emul.c,v 1.166 2014/05/28 20:57:22 justin Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.165 2014/04/25 19:56:01 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.166 2014/05/28 20:57:22 justin Exp $");
#include <sys/param.h>
#include <sys/null.h>
@@ -157,7 +157,7 @@
kpause(const char *wmesg, bool intr, int timeo, kmutex_t *mtx)
{
extern int hz;
- int rv;
+ int rv __diagused;
uint64_t sec, nsec;
if (mtx)
diff -r 114d85aca1ba -r c0e4c1bed36c sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Wed May 28 19:19:33 2014 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Wed May 28 20:57:22 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpfs.c,v 1.127 2014/04/25 13:10:42 pooka Exp $ */
+/* $NetBSD: rumpfs.c,v 1.128 2014/05/28 20:57:22 justin Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.127 2014/04/25 13:10:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.128 2014/05/28 20:57:22 justin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -428,7 +428,7 @@
{
struct etfs *et;
size_t keylen;
- int rv;
+ int rv __diagused;
if (key[0] != '/') {
return EINVAL;
diff -r 114d85aca1ba -r c0e4c1bed36c sys/rump/net/lib/libshmif/if_shmem.c
--- a/sys/rump/net/lib/libshmif/if_shmem.c Wed May 28 19:19:33 2014 +0000
+++ b/sys/rump/net/lib/libshmif/if_shmem.c Wed May 28 20:57:22 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_shmem.c,v 1.60 2014/03/20 20:42:08 christos Exp $ */
+/* $NetBSD: if_shmem.c,v 1.61 2014/05/28 20:57:22 justin Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.60 2014/03/20 20:42:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_shmem.c,v 1.61 2014/05/28 20:57:22 justin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -145,7 +145,7 @@
static void
shmif_unlockbus(struct shmif_mem *busmem)
{
- unsigned int old;
+ unsigned int old __diagused;
membar_exit();
old = atomic_swap_32(&busmem->shm_lock, LOCK_UNLOCKED);
@@ -345,7 +345,7 @@
static int
shmif_clone(struct if_clone *ifc, int unit)
{
- int rc;
+ int rc __diagused;
vmem_addr_t unit2;
/*
Home |
Main Index |
Thread Index |
Old Index