From: Yevgeny Petrilin Date: Tue, 6 Mar 2012 04:04:26 +0000 (+0000) Subject: net/mlx4: fixing sparse warnings when copying mac, address to gid entry X-Git-Tag: v3.4-rc1~177^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4;p=pandora-kernel.git net/mlx4: fixing sparse warnings when copying mac, address to gid entry The mac should be written as __be64 the gid. The warning was because we changed the mac parameter, which is u64, by writing result of cpu_to_be64 into it. Fixing by using new variable of type __be64. Signed-off-by: Yevgeny Petrilin Signed-off-by: David S. Miller --- Reading git-diff-tree failed