From: Moshe Lazer Date: Wed, 10 Jul 2013 11:31:03 +0000 (+0300) Subject: mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec X-Git-Tag: v3.11-rc1~16^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=288dde9f23b6726c1e8147bf635721372bf77b16;p=pandora-kernel.git mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec Sparse reported an endianness bug in the assignment to hca_cap.uar_page_sz. Fix the declaration of this field to be __be16 (which is what is in the firmware spec), renaming the field to log_uar_pg_size to conform to the spec, which fixes the endianness bug reported by sparse. Reported-by: Fengguang Wu Signed-off-by: Moshe Lazer Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed