diff options
author | 2012-03-06 04:04:26 +0000 | |
---|---|---|
committer | 2012-03-06 15:19:17 -0500 | |
commit | 2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4 (patch) | |
tree | 54af8551d6354c33f97cf0235383324d619fcb9b /include/linux | |
parent | net/mlx4: fix sparse warnings on wrong type for RSS keys (diff) | |
download | wireguard-linux-2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4.tar.xz wireguard-linux-2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4.zip |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions