summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2012-03-06 04:04:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-03-06 20:19:17 (GMT)
commit2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4 (patch)
tree54af8551d6354c33f97cf0235383324d619fcb9b /scripts
parent39b2c4ebb433acf751c28a59dde110767af24d23 (diff)
downloadlinux-fsl-qoriq-2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions