svn commit: r317821 - head/sys/dev/hyperv/input
Sepherosa Ziehau
sephe at FreeBSD.org
Fri May 5 03:28:31 UTC 2017
Author: sephe
Date: Fri May 5 03:28:30 2017
New Revision: 317821
URL: https://svnweb.freebsd.org/changeset/base/317821
Log:
hyperv/kbd: Channel read expects non-NULL channel argument.
MFC after: now
Sponsored by: Microsoft
Modified:
head/sys/dev/hyperv/input/hv_kbd.c
Modified: head/sys/dev/hyperv/input/hv_kbd.c
==============================================================================
--- head/sys/dev/hyperv/input/hv_kbd.c Fri May 5 00:54:23 2017 (r317820)
+++ head/sys/dev/hyperv/input/hv_kbd.c Fri May 5 03:28:30 2017 (r317821)
@@ -198,7 +198,7 @@ static void
hvkbd_do_poll(hv_kbd_sc *sc, uint8_t wait)
{
while (!hv_kbd_prod_is_ready(sc)) {
- hv_kbd_read_channel(NULL, sc);
+ hv_kbd_read_channel(sc->hs_chan, sc);
if (!wait)
break;
}
More information about the svn-src-head
mailing list