Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Fix !DIAGNOSTIC compile.



details:   https://anonhg.NetBSD.org/src/rev/46b104d8360b
branches:  trunk
changeset: 1010996:46b104d8360b
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Jun 14 16:29:47 2020 +0000

description:
Fix !DIAGNOSTIC compile.

diffstat:

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

diffs (27 lines):

diff -r b572068f6fbd -r 46b104d8360b sys/arch/arm/sunxi/sun8i_crypto.c
--- a/sys/arch/arm/sunxi/sun8i_crypto.c Sun Jun 14 16:12:05 2020 +0000
+++ b/sys/arch/arm/sunxi/sun8i_crypto.c Sun Jun 14 16:29:47 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun8i_crypto.c,v 1.17 2020/06/13 18:58:26 riastradh Exp $      */
+/*     $NetBSD: sun8i_crypto.c,v 1.18 2020/06/14 16:29:47 ad Exp $     */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: sun8i_crypto.c,v 1.17 2020/06/13 18:58:26 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sun8i_crypto.c,v 1.18 2020/06/14 16:29:47 ad Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -2393,7 +2393,7 @@
     struct sun8i_crypto_task *task, void *cookie, int error)
 {
        struct cryptop *crp = cookie;
-       struct cryptodesc *crd = crp->crp_desc;
+       struct cryptodesc *crd __diagused = crp->crp_desc;
 
        KASSERT(error != ERESTART);
        KASSERT(crd != NULL);



Home | Main Index | Thread Index | Old Index