Author: sephe
Date: Fri May 5 06:00:32 2017
New Revision: 317823
URL: https://svnweb.freebsd.org/changeset/base/317823
Log:
MFC 317821
hyperv/kbd: Channel read expects non-NULL channel argument.
Sponsored by: Microsoft
Modified:
stable/10/sys/dev/hyperv/input/hv_kbd.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/hyperv/input/hv_kbd.c
==============================================================================
--- stable/10/sys/dev/hyperv/input/hv_kbd.c Fri May 5 03:38:41 2017
(r317822)
+++ stable/10/sys/dev/hyperv/input/hv_kbd.c Fri May 5 06:00:32 2017
(r317823)
@@ -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;
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"