From: visa Date: Tue, 16 Jan 2018 15:22:14 +0000 (+0000) Subject: Fix return value. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bb7d75aeee586ab4fe453341a47ddd076c35cf2f;p=openbsd Fix return value. --- 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; } /*