1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

hyperv/kbd: Channel read expects non-NULL channel argument.

MFC after:	now
Sponsored by:	Microsoft
This commit is contained in:
Sepherosa Ziehau 2017-05-05 03:28:30 +00:00
parent 63febe64f1
commit 786e5b94b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317821

View File

@ -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;
}