Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 14:57:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 268653] /src/sys/dev/hyperv/input/hv_kbd.c error: use of undeclared identifier 'keycode'
Message-ID:  <bug-268653-227-JsPByaQPEL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268653-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268653-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268653

SimpleRezo <simplerezo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simplerezo@gmail.com

--- Comment #7 from SimpleRezo <simplerezo@gmail.com> ---
This quick patch fix compilation:

/usr/src/sys/dev/hyperv/input$ diff -u hv_kbd.c.orig hv_kbd.c
--- hv_kbd.c.orig       2023-06-12 16:55:53.868095000 +0200
+++ hv_kbd.c    2023-06-12 16:47:27.604685000 +0200
@@ -269,9 +269,7 @@
        uint32_t action;
        keystroke ks;
        hv_kbd_sc *sc =3D kbd->kb_data;
-#ifdef EVDEV_SUPPORT
        int keycode;
-#endif
        HVKBD_LOCK_ASSERT();

        if (!KBD_IS_ACTIVE(kbd) || !hv_kbd_prod_is_ready(sc))

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268653-227-JsPByaQPEL>