Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: last commit to /sys/usb/uvideo.c
To:
"Peter J. Philipp" <pjp@delphinusdns.org>
Cc:
tech@openbsd.org
Date:
Sat, 20 Jul 2024 22:36:50 +1000

Download raw body.

Thread
On Sat, Jul 20, 2024 at 02:22:18PM +0200, Peter J. Philipp wrote:
> Hi,
> 
> The last commit to uvideo.c removed #include's that are needed for the DEBUG
> mode '#define UVIDEO_DEBUG 1' at the top of its checking.

thanks, added

Index: uvideo.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/uvideo.c,v
diff -u -p -U5 -r1.220 uvideo.c
--- uvideo.c	23 May 2024 03:21:09 -0000	1.220
+++ uvideo.c	20 Jul 2024 12:29:36 -0000
@@ -175,10 +175,11 @@ usbd_status	uvideo_usb_control(struct uv
 
 #ifdef UVIDEO_DEBUG
 #include <sys/namei.h>
 #include <sys/proc.h>
 #include <sys/vnode.h>
+#include <sys/fcntl.h>
 
 void		uvideo_dump_desc_all(struct uvideo_softc *);
 void		uvideo_dump_desc_vc_header(struct uvideo_softc *,
 		    const usb_descriptor_t *);
 void		uvideo_dump_desc_input_header(struct uvideo_softc *,