From bb7d75aeee586ab4fe453341a47ddd076c35cf2f Mon Sep 17 00:00:00 2001 From: visa Date: Tue, 16 Jan 2018 15:22:14 +0000 Subject: [PATCH] Fix return value. --- sys/arch/octeon/dev/octxctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/octeon/dev/octxctl.c b/sys/arch/octeon/dev/octxctl.c index cf0b37a3412..775b7e92ec9 100644 --- a/sys/arch/octeon/dev/octxctl.c +++ b/sys/arch/octeon/dev/octxctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octxctl.c,v 1.1 2017/08/01 16:18:12 visa Exp $ */ +/* $OpenBSD: octxctl.c,v 1.2 2018/01/16 15:22:14 visa Exp $ */ /* * Copyright (c) 2017 Visa Hankala @@ -348,7 +348,7 @@ octxctl_dwc3_init(struct octxctl_softc *sc, struct fdt_reg *reg) out: bus_space_unmap(sc->sc_iot, ioh, reg->size); - return 0; + return error; } /* -- 2.20.1