Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2017 03:38:41 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r317822 - stable/11/sys/dev/hyperv/input
Message-ID:  <201705050338.v453cfbD028765@repo.freebsd.org>

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



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