summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-06-29 17:31:40 +0300
committerWill Deacon <will.deacon@arm.com>2017-06-29 18:32:43 +0300
commit50a4b05609929003ce98987bb901ee10fe21fb20 (patch)
tree4274a0b27430a7c7fbb998299d626d317d7c852b /include/linux/fpga/fpga-bridge.h
parentf0cda7e6dc5893b4b4daa3440512fc1226bc983f (diff)
downloadlinux-50a4b05609929003ce98987bb901ee10fe21fb20.tar.xz
arm64: add missing conversion to __wsum in ip_fast_csum()
ARM64 implementation of ip_fast_csum() do most of the work in 128 or 64 bit and call csum_fold() to finalize. csum_fold() itself take a __wsum argument, to insure that this value is always a 32bit native-order value. Fix this by adding the sadly needed '__force' to cast the native 'sum' to the type '__wsum'. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions