Skip to content
Commit 3d4a7882 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Dave Airlie
Browse files

agp/hp: fail gracefully if we don't find an IOC



Bail out if we don't find an enclosing IOC.  Previously, if we didn't
find one, we tried to set things up using garbage for the SBA/IOC register
address, which causes a crash.

This crash only happens if firmware supplies a defective ACPI namespace, so
it doesn't fix any problems in the field.

Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 67fe63b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment