From 671067d099413194809142535588bc3c91def9c2 Mon Sep 17 00:00:00 2001 From: ratchov Date: Sat, 30 Oct 2021 11:56:19 +0000 Subject: [PATCH] Revert previous commit as it's causing panic when devices are detached ok sthen, anton --- sys/dev/usb/uhidev.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/usb/uhidev.h b/sys/dev/usb/uhidev.h index 84730ca3a81..6ce75b1f49d 100644 --- a/sys/dev/usb/uhidev.h +++ b/sys/dev/usb/uhidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uhidev.h,v 1.33 2021/10/29 15:43:55 anton Exp $ */ +/* $OpenBSD: uhidev.h,v 1.34 2021/10/30 11:56:19 ratchov Exp $ */ /* $NetBSD: uhidev.h,v 1.3 2002/10/08 09:56:17 dan Exp $ */ /* @@ -80,9 +80,9 @@ struct uhidev { struct uhidev_attach_arg { struct usb_attach_arg *uaa; struct uhidev_softc *parent; - u_int reportid; -#define UHIDEV_CLAIM_MULTIPLE_REPORTID 256 - u_int nreports; + uint8_t reportid; +#define UHIDEV_CLAIM_MULTIPLE_REPORTID 255 + uint8_t nreports; uint8_t *claimed; }; -- 2.20.1