From: Jack Morgenstein Date: Sun, 27 Jan 2008 16:13:25 +0000 (+0200) Subject: mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER() X-Git-Tag: v2.6.25-rc1~790^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893da75956ab48545e8732b46e1cf4350bd25f9c;p=pandora-kernel.git mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER() The firmware QUERY_ADAPTER command does not return vendor_id, device_id, and revision_id; eliminate these fields from the query. Initialize the rev_id field of the mlx4 device via init_node_data (MAD IFC query), as is done in the query_device verb implementation. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed