Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Use __diagused
details: https://anonhg.NetBSD.org/src/rev/35154c9101d9
branches: trunk
changeset: 791373:35154c9101d9
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Nov 14 13:11:50 2013 +0000
description:
Use __diagused
diffstat:
sys/dev/usb/udl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c3d5487a469f -r 35154c9101d9 sys/dev/usb/udl.c
--- a/sys/dev/usb/udl.c Thu Nov 14 13:02:57 2013 +0000
+++ b/sys/dev/usb/udl.c Thu Nov 14 13:11:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udl.c,v 1.9 2013/09/14 13:15:53 joerg Exp $ */
+/* $NetBSD: udl.c,v 1.10 2013/11/14 13:11:50 skrll Exp $ */
/*-
* Copyright (c) 2009 FUKAUMI Naoki.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.9 2013/09/14 13:15:53 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.10 2013/11/14 13:11:50 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -619,7 +619,7 @@
struct udl_softc *sc = v;
vaddr_t vaddr;
paddr_t paddr;
- bool rv;
+ bool rv __diagused;
if (off < 0 || off > roundup2(UDL_FBMEM_SIZE(sc), PAGE_SIZE))
return -1;
Home |
Main Index |
Thread Index |
Old Index