]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
niu: introduce temp variables to avoid sparse warnings when swapping in-situ
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 13 Oct 2010 18:59:13 +0000 (18:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Oct 2010 20:42:50 +0000 (13:42 -0700)
commited440e82fee9652715a8145ffee8f56396017d9a
tree856edb38655c6d73d6807ce8183b3fd058ffa738
parent81ccb499e7c5ae47e988e59a4e40a6d5ee66af79
niu: introduce temp variables to avoid sparse warnings when swapping in-situ

Suppress a large block of warnings like:
drivers/net/niu.c:7094:38: warning: incorrect type in assignment (different base types)
drivers/net/niu.c:7094:38:    expected restricted __be32 [usertype] ip4src
drivers/net/niu.c:7094:38:    got unsigned long long
drivers/net/niu.c:7104:17: warning: cast from restricted __be32
...

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c