commit | 2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4 | [log] [tgz] |
---|---|---|
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | Tue Mar 06 04:04:26 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 06 15:19:17 2012 -0500 |
tree | 54af8551d6354c33f97cf0235383324d619fcb9b | |
parent | 39b2c4ebb433acf751c28a59dde110767af24d23 [diff] |
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 <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>