[PATCH] arm64: csum: cast to the proper type
Will Deacon
will at kernel.org
Mon Mar 15 11:08:59 GMT 2021
On Sun, 14 Mar 2021 20:26:50 -0500, Alex Elder wrote:
> 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.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: csum: cast to the proper type
https://git.kernel.org/arm64/c/0710442a88d1
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list