Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 18:49:07 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 00a82bd964b6 - stable/13 - hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled.
Message-ID:  <202401271849.40RIn7Na073984@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=00a82bd964b68ad20f47b25f9419af14ff159f64

commit 00a82bd964b68ad20f47b25f9419af14ff159f64
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-04-22 22:13:25 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-01-27 18:46:46 +0000

    hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled.
    
    Reported by:    olivier
    PR:             268653
    
    (cherry picked from commit 55eb41bb1fb69429330ea415fb463735ae08da64)
---
 sys/dev/hyperv/input/hv_kbd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/hyperv/input/hv_kbd.c b/sys/dev/hyperv/input/hv_kbd.c
index 82d661faedb9..3f8fe3c30154 100644
--- a/sys/dev/hyperv/input/hv_kbd.c
+++ b/sys/dev/hyperv/input/hv_kbd.c
@@ -267,9 +267,8 @@ hvkbd_read_char_locked(keyboard_t *kbd, int wait)
 	uint32_t action;
 	keystroke ks;
 	hv_kbd_sc *sc = kbd->kb_data;
-#ifdef EVDEV_SUPPORT
 	int keycode;
-#endif
+
 	HVKBD_LOCK_ASSERT();
 
 	if (!KBD_IS_ACTIVE(kbd) || !hv_kbd_prod_is_ready(sc))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401271849.40RIn7Na073984>