Skip to content
Commit 07f9b61c authored by ethan.zhao's avatar ethan.zhao Committed by Bjorn Helgaas
Browse files

x86/PCI: MMCONFIG: Check earlier for MMCONFIG region at address zero



We can check for addr being zero earlier and thus avoid the mutex_unlock()
cleanup path.

[bhelgaas: drop warning printk]
Signed-off-by: default avatarethan.zhao <ethan.zhao@oracle.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
parent 56039e65
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