Date: Fri, 9 Oct 2020 22:50:16 +0000 (UTC) From: Allan Jude <allanjude@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r366591 - stable/12/stand/efi/loader Message-ID: <202010092250.099MoGnj025397@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: allanjude Date: Fri Oct 9 22:50:16 2020 New Revision: 366591 URL: https://svnweb.freebsd.org/changeset/base/366591 Log: Revert r366590 that contains garbage Modified: stable/12/stand/efi/loader/main.c Directory Properties: stable/12/ (props changed) Modified: stable/12/stand/efi/loader/main.c ============================================================================== --- stable/12/stand/efi/loader/main.c Fri Oct 9 22:42:04 2020 (r366590) +++ stable/12/stand/efi/loader/main.c Fri Oct 9 22:50:16 2020 (r366591) @@ -717,10 +717,6 @@ parse_uefi_con_out(void) ep = buf + sz; node = (EFI_DEVICE_PATH *)buf; while ((char *)node < ep) { - if (IsDevicePathEndType(node)) { - if (pci_pending && vid_seen == 0) - vid_seen = ++seen; - } pci_pending = false; if (DevicePathType(node) == ACPI_DEVICE_PATH && DevicePathSubType(node) == ACPI_DP) { @@ -753,6 +749,8 @@ parse_uefi_con_out(void) } node = NextDevicePathNode(node); /* Skip the end node */ } + if (pci_pending && vid_seen == 0) + vid_seen = ++seen; /* * Truth table for RB_MULTIPLE | RB_SERIAL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010092250.099MoGnj025397>