lkml.org 
[lkml]   [2023]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] ipv6: Correct/silence an endian warning in ip6_multipath_l3_keys
From
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?

\
 
 \ /
  Last update: 2023-11-22 10:08    [W:0.051 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site