Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip bus_space_write_4 does not have a retu...



details:   https://anonhg.NetBSD.org/src/rev/7d44383d2683
branches:  trunk
changeset: 956032:7d44383d2683
user:      tnn <tnn%NetBSD.org@localhost>
date:      Mon Oct 19 13:44:25 2020 +0000

description:
bus_space_write_4 does not have a return value

diffstat:

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

diffs (27 lines):

diff -r 78394a346262 -r 7d44383d2683 sys/arch/arm/rockchip/rk_v1crypto.c
--- a/sys/arch/arm/rockchip/rk_v1crypto.c       Mon Oct 19 12:47:53 2020 +0000
+++ b/sys/arch/arm/rockchip/rk_v1crypto.c       Mon Oct 19 13:44:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rk_v1crypto.c,v 1.2 2020/05/17 20:29:39 riastradh Exp $        */
+/*     $NetBSD: rk_v1crypto.c,v 1.3 2020/10/19 13:44:25 tnn Exp $      */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: rk_v1crypto.c,v 1.2 2020/05/17 20:29:39 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rk_v1crypto.c,v 1.3 2020/10/19 13:44:25 tnn Exp $");
 
 #include <sys/types.h>
 
@@ -82,7 +82,7 @@
 static void
 RKC_WRITE(struct rk_v1crypto_softc *sc, bus_addr_t reg, uint32_t v)
 {
-       return bus_space_write_4(sc->sc_bst, sc->sc_bsh, reg, v);
+       bus_space_write_4(sc->sc_bst, sc->sc_bsh, reg, v);
 }
 
 static inline void



Home | Main Index | Thread Index | Old Index