]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: Fix an apparent pointer arithmetic bug in the xhci emulation
authorMark Johnston <markj@FreeBSD.org>
Thu, 27 Oct 2022 14:46:53 +0000 (10:46 -0400)
committerMark Johnston <markj@FreeBSD.org>
Thu, 27 Oct 2022 14:48:55 +0000 (10:48 -0400)
commita309ad7bd1230353da3d7c98afd850c1e9427944
tree633634b3dd3a68ce1215805e868901bcab317ca7
parent04336c0562488080300e68157ada5bc8eae71e54
bhyve: Fix an apparent pointer arithmetic bug in the xhci emulation

Also remove the out-parameter of pci_xhci_find_stream(), since it's
unused by all callers.

MFC after: 1 week
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D37118
usr.sbin/bhyve/pci_xhci.c