[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141007.001106.65704270134298771.davem@davemloft.net>
Date: Tue, 07 Oct 2014 00:11:06 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: azhou@...ira.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next 1/2] net: fix a sparse warning
From: Andy Zhou <azhou@...ira.com>
Date: Mon, 6 Oct 2014 13:22:50 -0700
> Fix a sparse warning introduced by Commit
> 0b5e8b8eeae40bae6ad7c7e91c97c3c0d0e57882 (net: Add Geneve tunneling
> protocol driver) caught by kbuild test robot:
>
> # apt-get install sparse
> # git checkout 0b5e8b8eeae40bae6ad7c7e91c97c3c0d0e57882
> # make ARCH=x86_64 allmodconfig
> # make C=1 CF=-D__CHECK_ENDIAN__
> #
> #
> # sparse warnings: (new ones prefixed by >>)
> #
> # >> net/ipv4/geneve.c:230:42: sparse: incorrect type in assignment (different base types)
> # net/ipv4/geneve.c:230:42: expected restricted __be32 [addressable] [assigned] [usertype] s_addr
> # net/ipv4/geneve.c:230:42: got unsigned long [unsigned] <noident>
> #
>
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Signed-off-by: Andy Zhou <azhou@...ira.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists