Source-Changes-HG archive

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

[src/jdolecek-ncq]: src/sys/dev/ic make compile without DIAGNOSTIC



details:   https://anonhg.NetBSD.org/src/rev/814c16a3a697
branches:  jdolecek-ncq
changeset: 822913:814c16a3a697
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Apr 25 20:55:05 2017 +0000

description:
make compile without DIAGNOSTIC

diffstat:

 sys/dev/ic/ahcisata_core.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 64dd7dd054ae -r 814c16a3a697 sys/dev/ic/ahcisata_core.c
--- a/sys/dev/ic/ahcisata_core.c        Mon Apr 24 22:20:23 2017 +0000
+++ b/sys/dev/ic/ahcisata_core.c        Tue Apr 25 20:55:05 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahcisata_core.c,v 1.57.6.11 2017/04/24 18:22:31 jdolecek Exp $ */
+/*     $NetBSD: ahcisata_core.c,v 1.57.6.12 2017/04/25 20:55:05 jdolecek Exp $ */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.57.6.11 2017/04/24 18:22:31 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.57.6.12 2017/04/25 20:55:05 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <sys/malloc.h>
@@ -1429,7 +1429,7 @@
 {
        struct ata_xfer *xfer = v;
        struct ata_channel *chp = xfer->c_chp;
-       struct ahci_channel *achp = (struct ahci_channel *)chp;
+       struct ahci_channel *achp __diagused = (struct ahci_channel *)chp;
        struct ahci_softc *sc = (struct ahci_softc *)chp->ch_atac;
        int s;
 



Home | Main Index | Thread Index | Old Index