x86/PCI: fix boundary checking when using root CRS
Don't touch info->res_num if we are out of space. Acked-by: NGary Hade <garyhade@us.ibm.com> Tested-by: NGary Hade <garyhade@us.ibm.com> Signed-off-by: NYinghai Lu <yinghai@kernel.org> Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
Showing
想要评论请 注册 或 登录