From: Frank Haverkamp Date: Wed, 10 Sep 2014 14:37:46 +0000 (+0200) Subject: GenWQE: Check pci_get_totalvfs return code X-Git-Tag: fixes-for-v3.18-merge-window~11^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a8825c9c3482e31ee5064184138a18be186515;p=pandora-kernel.git GenWQE: Check pci_get_totalvfs return code Currently the driver is using the pci_get_totalvfs() return code directly in a loop. To avoid problems with potentially negative returns in case of errors, we are adding some more sanity checking code. Signed-off-by: Frank Haverkamp Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed