svn commit: r317822 - stable/11/sys/dev/hyperv/input

Sepherosa Ziehau sephe at FreeBSD.org
Fri May 5 03:38:42 UTC 2017


Author: sephe
Date: Fri May  5 03:38:41 2017
New Revision: 317822
URL: https://svnweb.freebsd.org/changeset/base/317822

Log:
  MFC 317821
      hyperv/kbd: Channel read expects non-NULL channel argument.
  
      Sponsored by:   Microsoft

Modified:
  stable/11/sys/dev/hyperv/input/hv_kbd.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/hyperv/input/hv_kbd.c
==============================================================================
--- stable/11/sys/dev/hyperv/input/hv_kbd.c	Fri May  5 03:28:30 2017	(r317821)
+++ stable/11/sys/dev/hyperv/input/hv_kbd.c	Fri May  5 03:38:41 2017	(r317822)
@@ -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-all mailing list