]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix timesync endianity
authorMichal Kalderon <Michal.Kalderon@qlogic.com>
Mon, 25 Aug 2014 14:48:33 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 00:30:22 +0000 (17:30 -0700)
commit1447ce52bafa3ba1b9b9484d719c95739d927051
treece0fc8524e7d22459fe3ceea3c91d87c801d19b4
parent24389eeb7a48cba6aba43b8f39f8c5692f517e1f
bnx2x: Fix timesync endianity

Commit dc025cff63192 ("bnx2x: Add timestamping and PTP hardware clock support")
has a missing conversion to LE32, which will prevent the feature from working
on big endian machines.

Signed-off-by: Michal Kalderon <Michal.Kalderon@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c