]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fix endianness issue in t4_fwcache()
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 14 Sep 2018 09:06:27 +0000 (14:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Sep 2018 15:40:53 +0000 (08:40 -0700)
commit8a77d0d41ccfb98f0ed18fce716500a8cf05dea2
tree6d6227cc0b8d455c18b785fddcdbc6f67d973b29
parent5ed2d86a4e76b6c16e87e919deeb8d691bca7a06
cxgb4: Fix endianness issue in t4_fwcache()

Do not put host-endian 0 or 1 into big endian feild.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c