]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:25 +0000 (22:32 -0700)
commitfd0555fcd18897a801524ba885dd149b3bb6ade7
tree91f3cd71e76f2550852d60161676eee6590b484c
parentf78cc262ce878d208d1a0ea4f15e9f67af2fce51
qed: Correct order of wwnn and wwpn

Orabug: 26783820

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>
[ Upstream commit 5779675912fa87d8d0af651537acc0e312f06c70 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_mcp.c