[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140716.233151.1229307096154836730.davem@davemloft.net>
Date: Wed, 16 Jul 2014 23:31:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jlayton@...marydata.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-nfs@...r.kernel.org,
hch@...radead.org
Subject: Re: [PATCH v2] net: clean up some sparse endianness warnings in
ipv6.h
From: Jeff Layton <jlayton@...marydata.com>
Date: Wed, 16 Jul 2014 06:55:46 -0400
> sparse is throwing warnings when building sunrpc modules due to some
> endianness shenanigans in ipv6.h. Specifically:
>
> CHECK net/sunrpc/addr.c
> include/net/ipv6.h:573:17: warning: restricted __be64 degrades to integer
> include/net/ipv6.h:577:34: warning: restricted __be32 degrades to integer
> include/net/ipv6.h:573:17: warning: restricted __be64 degrades to integer
> include/net/ipv6.h:577:34: warning: restricted __be32 degrades to integer
>
> Sprinkle some endianness fixups to silence them. These should all get
> fixed up at compile time, so I don't think this will add any extra work
> to be done at runtime.
>
> Signed-off-by: Jeff Layton <jlayton@...marydata.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists