Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia Fix non-DIAGNOSTIC build



details:   https://anonhg.NetBSD.org/src/rev/a28c61093878
branches:  trunk
changeset: 445539:a28c61093878
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Nov 01 16:14:54 2018 +0000

description:
Fix non-DIAGNOSTIC build

diffstat:

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

diffs (27 lines):

diff -r 50932255eaa6 -r a28c61093878 sys/arch/arm/nvidia/tegra_nouveau.c
--- a/sys/arch/arm/nvidia/tegra_nouveau.c       Thu Nov 01 14:47:36 2018 +0000
+++ b/sys/arch/arm/nvidia/tegra_nouveau.c       Thu Nov 01 16:14:54 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_nouveau.c,v 1.11 2018/08/27 15:31:51 riastradh Exp $ */
+/* $NetBSD: tegra_nouveau.c,v 1.12 2018/11/01 16:14:54 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_nouveau.c,v 1.11 2018/08/27 15:31:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_nouveau.c,v 1.12 2018/11/01 16:14:54 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -132,7 +132,7 @@
        prop_dictionary_t prop = device_properties(self);
        const struct of_compat_data *data =
            of_search_compatible(faa->faa_phandle, compat_data);
-       const struct nvkm_device_tegra_func *tegra_func =
+       const struct nvkm_device_tegra_func *tegra_func __diagused =
            (const void *)data->data;
        int error;
 



Home | Main Index | Thread Index | Old Index