Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2017 03:28:30 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317821 - head/sys/dev/hyperv/input
Message-ID:  <201705050328.v453SULY024791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



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