From: Jack Morgenstein Date: Tue, 19 Jun 2012 08:21:33 +0000 (+0300) Subject: mlx4_core: Pass an invalid PCI id number to VFs X-Git-Tag: v3.6-rc1~115^2^4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752a50cab600c6d46c5a1921c6a6d2fb116c8a4b;p=pandora-kernel.git mlx4_core: Pass an invalid PCI id number to VFs Currently, VFs have 0 in their dev->caps.function field. This is a valid pci id (usually of the PF). Instead, pass an invalid PCI id to the VF via QUERY_FW, so that if the value gets accessed in the VF driver, we'll catch the problem. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed