aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/pci/pcbios.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2020-06-26 16:51:14 +0200
committerGreg Kroah-Hartman2020-06-26 16:51:14 +0200
commit603ea288dc53dfabf823bf7d38e401a945309492 (patch)
tree6260717cd4254283d71f5e671b02cb89305f768d /arch/x86/pci/pcbios.c
parentea0efd687b01355cd799c8643d0c636ba4859ffc (diff)
parent48778464bb7d346b47157d21ffde2af6b2d39110 (diff)
Merge 5.8-rc2 into usb-linus
Felipe has based his patches on that tag, so update my usb-linus branch to it as well so that I can pull his patches in here easier. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/pci/pcbios.c')
-rw-r--r--arch/x86/pci/pcbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c
index 9c97d814125e..4f15280732ed 100644
--- a/arch/x86/pci/pcbios.c
+++ b/arch/x86/pci/pcbios.c
@@ -302,7 +302,7 @@ static const struct pci_raw_ops *__init pci_find_bios(void)
check <= (union bios32 *) __va(0xffff0);
++check) {
long sig;
- if (probe_kernel_address(&check->fields.signature, sig))
+ if (get_kernel_nofault(sig, &check->fields.signature))
continue;
if (check->fields.signature != BIOS32_SIGNATURE)