summaryrefslogtreecommitdiff
path: root/drivers/net/cris
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2012-03-06 04:04:07 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-03-06 20:19:17 (GMT)
commit39b2c4ebb433acf751c28a59dde110767af24d23 (patch)
treecf278e754cfffb95da835fb986f4cc4cedb0f32b /drivers/net/cris
parent966684d581c9c04202e6612a792e36ae7bc5fd59 (diff)
downloadlinux-fsl-qoriq-39b2c4ebb433acf751c28a59dde110767af24d23.tar.xz
net/mlx4: fix sparse warnings on wrong type for RSS keys
The keys used for the hardware RSS topelitz hash are of type __be32 where the values provided by the driver are from array of u32, this triggered sparse warning on incorrect type in assignment as of different base types. Since these values are picked randomly, the fix is to transform the key to __be32 by executing cpu_to_be_32() Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cris')
0 files changed, 0 insertions, 0 deletions