diff options
author | Alex Elder <elder@linaro.org> | 2021-03-14 20:26:50 -0500 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-03-15 10:57:21 +0000 |
commit | 0710442a88d1c646d37ac83c52de85f456e99171 (patch) | |
tree | c2277883d3c52f9eaa76e314410fb476b9dddb7a /lib/mpi/mpi-sub-ui.c | |
parent | c8e3866836528a4ba3b0535834f03768d74f7d8e (diff) |
arm64: csum: cast to the proper type
The last line of ip_fast_csum() calls csum_fold(), forcing the
type of the argument passed to be u32. But csum_fold() takes a
__wsum argument (which is __u32 __bitwise for arm64). As long
as we're forcing the cast, cast it to the right type.
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20210315012650.1221328-1-elder@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions