]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/ipv6/tcp_ipv6.c
ipv6: coding style: comparison for equality with NULL
authorIan Morris <ipm@chirality.org.uk>
Sun, 29 Mar 2015 13:00:04 +0000 (14:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 17:51:54 +0000 (13:51 -0400)
commit63159f29be1df7f93563a8a0f78c5e65fc844ed6
treeaba1b4275abb0692728b97851f2d52e07d3f6e94
parentbc48878c06028f297e4fdf75be7dda88de050430
ipv6: coding style: comparison for equality with NULL

The ipv6 code uses a mixture of coding styles. In some instances check for NULL
pointer is done as x == NULL and sometimes as !x. !x is preferred according to
checkpatch and this patch makes the code consistent by adopting the latter
form.

No changes detected by objdiff.

Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
25 files changed:
net/ipv6/addrconf.c
net/ipv6/af_inet6.c
net/ipv6/ah6.c
net/ipv6/anycast.c
net/ipv6/datagram.c
net/ipv6/esp6.c
net/ipv6/exthdrs_core.c
net/ipv6/icmp.c
net/ipv6/ip6_flowlabel.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/ip6mr.c
net/ipv6/ipv6_sockglue.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/raw.c
net/ipv6/reassembly.c
net/ipv6/route.c
net/ipv6/sit.c
net/ipv6/sysctl_net_ipv6.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/ipv6/xfrm6_policy.c