From: Yijing Wang Date: Tue, 28 May 2013 02:55:09 +0000 (+0800) Subject: x86/PCI: Increase info->res_num before checking pci_use_crs X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~18^2~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea221e64140f6fa543c29e31349001167b9f8ad0;p=pandora-kernel.git x86/PCI: Increase info->res_num before checking pci_use_crs We should increase info->res_num before we checking pci_use_crs return when pci=nocrs set. No functional change, since we don't use res_num and res_offset[] in the "!pci_use_crs" case anyway, but this makes the code read better. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Cc: Yinghai Lu Cc: Jiang Liu Cc: "Rafael J. Wysocki" Cc: Feng Tang --- Reading git-diff-tree failed