Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/omap Fix build of non-debug kernels, mark err _...



details:   https://anonhg.NetBSD.org/src/rev/80134be58862
branches:  trunk
changeset: 328607:80134be58862
user:      hans <hans%NetBSD.org@localhost>
date:      Wed Apr 09 21:02:31 2014 +0000

description:
Fix build of non-debug kernels, mark err __diagused in uart_enable().

diffstat:

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

diffs (27 lines):

diff -r b7352f3191c5 -r 80134be58862 sys/arch/arm/omap/obio_com.c
--- a/sys/arch/arm/omap/obio_com.c      Wed Apr 09 20:52:14 2014 +0000
+++ b/sys/arch/arm/omap/obio_com.c      Wed Apr 09 21:02:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio_com.c,v 1.4 2011/07/01 20:30:21 dyoung Exp $      */
+/*     $NetBSD: obio_com.c,v 1.5 2014/04/09 21:02:31 hans Exp $        */
 
 /*
  * Based on arch/arm/omap/omap_com.c
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.4 2011/07/01 20:30:21 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.5 2014/04/09 21:02:31 hans Exp $");
 
 #include "opt_omap.h"
 #include "opt_com.h"
@@ -171,7 +171,7 @@
 #endif
        uint32_t fclken1;
        uint32_t iclken1;
-       int err;
+       int err __diagused;
        int n=-1;
 
        KASSERT(obio != NULL);



Home | Main Index | Thread Index | Old Index