Return-Path: linux-nfs-owner@vger.kernel.org Received: from shards.monkeyblade.net ([149.20.54.216]:57769 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740AbaGQGbw (ORCPT ); Thu, 17 Jul 2014 02:31:52 -0400 Date: Wed, 16 Jul 2014 23:31:51 -0700 (PDT) Message-Id: <20140716.233151.1229307096154836730.davem@davemloft.net> To: jlayton@primarydata.com Cc: kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, hch@infradead.org Subject: Re: [PATCH v2] net: clean up some sparse endianness warnings in ipv6.h From: David Miller In-Reply-To: <1405508146-13004-1-git-send-email-jlayton@primarydata.com> References: <1405340746-10678-1-git-send-email-jlayton@primarydata.com> <1405508146-13004-1-git-send-email-jlayton@primarydata.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Sender: linux-nfs-owner@vger.kernel.org List-ID: From: Jeff Layton 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 Applied, thank you.