Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Mark a variable __diagused



details:   https://anonhg.NetBSD.org/src/rev/de19fe4409de
branches:  trunk
changeset: 327888:de19fe4409de
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Mar 20 05:39:11 2014 +0000

description:
Mark a variable __diagused

PR 48668 from David H. Gutteridge

diffstat:

 sys/arch/arm/broadcom/bcm2835_bsc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ab96a6df4bde -r de19fe4409de sys/arch/arm/broadcom/bcm2835_bsc.c
--- a/sys/arch/arm/broadcom/bcm2835_bsc.c       Thu Mar 20 05:32:31 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_bsc.c       Thu Mar 20 05:39:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_bsc.c,v 1.1 2013/01/05 20:15:17 jakllsch Exp $ */
+/*     $NetBSD: bcm2835_bsc.c,v 1.2 2014/03/20 05:39:11 ozaki-r Exp $  */
 
 /*
  * Copyright (c) 2012 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_bsc.c,v 1.1 2013/01/05 20:15:17 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_bsc.c,v 1.2 2014/03/20 05:39:11 ozaki-r Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -169,7 +169,7 @@
 bsciic_acquire_bus(void *v, int flags)
 {
        struct bsciic_softc * const sc = v;
-       uint32_t s;
+       uint32_t s __diagused;
 
        mutex_enter(&sc->sc_buslock);
 



Home | Main Index | Thread Index | Old Index