OSDN Git Service

ipv6: fix sparse warnings in privacy stable addresses generation
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Tue, 24 Mar 2015 10:05:28 +0000 (11:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 19:21:35 +0000 (15:21 -0400)
commitff40217e73fd137daae0113ed71b218128913037
treef725df0e1069ba55cd9ff3d23b433931ddcd4379
parented3e852aa5039fda5a9f53c716c7466913403288
ipv6: fix sparse warnings in privacy stable addresses generation

Those warnings reported by sparse endianness check (via kbuild test robot)
are harmless, nevertheless fix them up and make the code a little bit
easier to read.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 622c81d57b392cc ("ipv6: generation of stable privacy addresses for link-local and autoconf")
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c