ipv6: White-space cleansing : Line Layouts
This patch makes no changes to the logic of the code but simply addresses coding style issues as detected by checkpatch. Both objdump and diff -w show no differences. A number of items are addressed in this patch: * Multiple spaces converted to tabs * Spaces before tabs removed. * Spaces in pointer typing cleansed (char *)foo etc. * Remove space after sizeof * Ensure spacing around comparators such as if statements. Signed-off-by: Ian Morris <ipm@chirality.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a9b0b2faa8
commit
67ba4152e8
@@ -17,10 +17,10 @@
|
||||
* Authors
|
||||
*
|
||||
* Mitsuru KANDA @USAGI : IPv6 Support
|
||||
* Kazunori MIYAZAWA @USAGI :
|
||||
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
|
||||
* Kazunori MIYAZAWA @USAGI :
|
||||
* Kunihiro Ishiguro <kunihiro@ipinfusion.com>
|
||||
*
|
||||
* This file is derived from net/ipv4/esp.c
|
||||
* This file is derived from net/ipv4/esp.c
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "IPv6: " fmt
|
||||
@@ -598,7 +598,7 @@ static int esp6_init_state(struct xfrm_state *x)
|
||||
case XFRM_MODE_BEET:
|
||||
if (x->sel.family != AF_INET6)
|
||||
x->props.header_len += IPV4_BEET_PHMAXLEN +
|
||||
(sizeof(struct ipv6hdr) - sizeof(struct iphdr));
|
||||
(sizeof(struct ipv6hdr) - sizeof(struct iphdr));
|
||||
break;
|
||||
case XFRM_MODE_TRANSPORT:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user