Skip to content
Commit 2cdb3f1d authored by Yinghai Lu's avatar Yinghai Lu Committed by Jesse Barnes
Browse files

x86/PCI: fix boundary checking when using root CRS



Don't touch info->res_num if we are out of space.

Acked-by: default avatarGary Hade <garyhade@us.ibm.com>
Tested-by: default avatarGary Hade <garyhade@us.ibm.com>
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 12abb8ba
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