Messages in this thread | | | Date | Wed, 22 Nov 2023 17:04:49 +0800 | Subject | Re: [PATCH v3] ipv6: Correct/silence an endian warning in ip6_multipath_l3_keys | From | Kunwu Chan <> |
| |
Hi Christoph, Thanks for your reply. I also can't guarantee that it's the right thing to do. Just wanted to dispel this warning. If you have any better way, please let me know.
On 2023/11/22 15:23, Christoph Hellwig wrote: > 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?
| |