Re: [PATCH] arm64: csum: cast to the proper type

From: Will Deacon
Date: Mon Mar 15 2021 - 07:09:45 EST


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