Module Name: src Committed By: hans Date: Wed Apr 9 20:52:14 UTC 2014
Modified Files: src/sys/arch/arm/omap: if_cpsw.c Log Message: Fix build in non-debug kernels, mark eopi __diagused in cpsw_start(). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/omap/if_cpsw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/omap/if_cpsw.c diff -u src/sys/arch/arm/omap/if_cpsw.c:1.5 src/sys/arch/arm/omap/if_cpsw.c:1.6 --- src/sys/arch/arm/omap/if_cpsw.c:1.5 Wed Feb 26 03:58:33 2014 +++ src/sys/arch/arm/omap/if_cpsw.c Wed Apr 9 20:52:14 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: if_cpsw.c,v 1.5 2014/02/26 03:58:33 ozaki-r Exp $ */ +/* $NetBSD: if_cpsw.c,v 1.6 2014/04/09 20:52:14 hans Exp $ */ /* * Copyright (c) 2013 Jonathan A. Kollasch @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: if_cpsw.c,v 1.5 2014/02/26 03:58:33 ozaki-r Exp $"); +__KERNEL_RCSID(1, "$NetBSD: if_cpsw.c,v 1.6 2014/04/09 20:52:14 hans Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -527,7 +527,7 @@ cpsw_start(struct ifnet *ifp) uint32_t * const dw = bd.word; struct mbuf *m; bus_dmamap_t dm; - u_int eopi = ~0; + u_int eopi __diagused = ~0; u_int seg; u_int txfree; int txstart = -1;