Re: [PATCH v3] ipv6: Correct/silence an endian warning in ip6_multipath_l3_keys

From: Christoph Hellwig
Date: Wed Nov 22 2023 - 02:23:26 EST


On Wed, Nov 22, 2023 at 03:19:24PM +0800, Kunwu Chan wrote:
> net/ipv6/route.c:2332:39: warning: incorrect type in assignment (different base types)
> net/ipv6/route.c:2332:39: expected unsigned int [usertype] flow_label
> net/ipv6/route.c:2332:39: got restricted __be32

Can you expain why you think the __force cast is the correct thing to do
here?