From owner-svn-src-stable-10@freebsd.org Fri May 5 06:00:33 2017 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7E26D5D254; Fri, 5 May 2017 06:00:33 +0000 (UTC) (envelope-from sephe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9797AEA6; Fri, 5 May 2017 06:00:33 +0000 (UTC) (envelope-from sephe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4560WYJ086031; Fri, 5 May 2017 06:00:32 GMT (envelope-from sephe@FreeBSD.org) Received: (from sephe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4560WWG086030; Fri, 5 May 2017 06:00:32 GMT (envelope-from sephe@FreeBSD.org) Message-Id: <201705050600.v4560WWG086030@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sephe set sender to sephe@FreeBSD.org using -f From: Sepherosa Ziehau Date: Fri, 5 May 2017 06:00:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r317823 - stable/10/sys/dev/hyperv/input X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 06:00:33 -0000 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; }