From f15999067d88fd0bbe30657a7ace356e168807d3 Mon Sep 17 00:00:00 2001 From: jmatthew Date: Sun, 26 Jun 2022 15:25:03 +0000 Subject: [PATCH] add missing splx in error path from Christian Ludwig --- sys/dev/usb/if_uaq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.20.1