From: jmatthew Date: Sun, 26 Jun 2022 15:25:03 +0000 (+0000) Subject: add missing splx in error path X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f15999067d88fd0bbe30657a7ace356e168807d3;p=openbsd add missing splx in error path from Christian Ludwig --- diff --git a/sys/dev/usb/if_uaq.c b/sys/dev/usb/if_uaq.c index d7b9d6daa9a..55180a3b699 100644 --- a/sys/dev/usb/if_uaq.c +++ b/sys/dev/usb/if_uaq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uaq.c,v 1.3 2022/04/24 00:04:10 jmatthew Exp $ */ +/* $OpenBSD: if_uaq.c,v 1.4 2022/06/26 15:25:03 jmatthew Exp $ */ /*- * Copyright (c) 2021 Jonathan Matthew * All rights reserved. @@ -780,6 +780,7 @@ uaq_init(void *xsc) if (err) { printf("%s: couldn't open interrupt pipe\n", sc->sc_dev.dv_xname); + splx(s); return; }