]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qed: Correct order of wwnn and wwpn
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Fri, 2 Jun 2017 05:58:30 +0000 (08:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:33:02 +0000 (10:33 -0400)
commit5779675912fa87d8d0af651537acc0e312f06c70
treeb3d3d25b14e312051bc6dcbeeb4a92cf366fc6af
parent3a5f8997dc643a0e0e9a0895c2214b21e5e774a2
qed: Correct order of wwnn and wwpn

Driver reads values via HSI splitting this 8-byte into 2 32-bit
values and builds a single u64 field - but it does so by shifting
the lower field instead of the higher.
Luckily, we still don't use these fields for anything - but we're about
to start.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_mcp.c