[NET] XFRM: Fix whitespace errors.

2007-07-19 Thread Linux Kernel Mailing List
Gitweb: 
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7dc12d6dd6cc1aa489c6f3e34a75e8023c945da8
Commit: 7dc12d6dd6cc1aa489c6f3e34a75e8023c945da8
Parent: 8238745a39606738c1d8d39f2052959b3e594b04
Author: YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 19 10:45:15 2007 +0900
Committer:  YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
CommitDate: Thu Jul 19 10:45:15 2007 +0900

    [NET] XFRM: Fix whitespace errors.

Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
---
 net/xfrm/xfrm_policy.c |2 +-
 net/xfrm/xfrm_state.c  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index b48f06f..cfaf17c 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -857,7 +857,7 @@ xfrm_policy_flush_secctx_check(u8 type, struct xfrm_audit 
*audit_info)
   pol, NULL);
return err;
}
-}
+   }
for (i = xfrm_policy_bydst[dir].hmask; i >= 0; i--) {
hlist_for_each_entry(pol, entry,
 xfrm_policy_bydst[dir].table + i,
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index e070c3f..38f90ca 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -407,7 +407,7 @@ xfrm_state_flush_secctx_check(u8 proto, struct xfrm_audit 
*audit_info)
xfrm_audit_log(audit_info->loginuid,
   audit_info->secid,
   AUDIT_MAC_IPSEC_DELSA,
-   0, NULL, x);
+  0, NULL, x);
 
return err;
}
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[NET] XFRM: Fix whitespace errors.

2007-02-11 Thread Linux Kernel Mailing List
Gitweb: 
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a716c1197d608c55adfba45692a890ca64e10df0
Commit: a716c1197d608c55adfba45692a890ca64e10df0
Parent: f8e1d20183bf56f889d60edadd48f54912b9277f
Author: YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 9 23:25:29 2007 +0900
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Feb 10 23:20:24 2007 -0800

    [NET] XFRM: Fix whitespace errors.

Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/xfrm/xfrm_algo.c   |   94 
 net/xfrm/xfrm_input.c  |2 +-
 net/xfrm/xfrm_policy.c |   40 ++--
 net/xfrm/xfrm_state.c  |   18 +-
 net/xfrm/xfrm_user.c   |6 ++--
 5 files changed, 80 insertions(+), 80 deletions(-)

diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index 248f948..f373a8a 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -1,11 +1,11 @@
-/* 
+/*
  * xfrm algorithm interface
  *
  * Copyright (c) 2002 James Morris <[EMAIL PROTECTED]>
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option) 
+ * Software Foundation; either version 2 of the License, or (at your option)
  * any later version.
  */
 
@@ -32,14 +32,14 @@ static struct xfrm_algo_desc aalg_list[] = {
 {
.name = "hmac(digest_null)",
.compat = "digest_null",
-   
+
.uinfo = {
.auth = {
.icv_truncbits = 0,
.icv_fullbits = 0,
}
},
-   
+
.desc = {
.sadb_alg_id = SADB_X_AALG_NULL,
.sadb_alg_ivlen = 0,
@@ -57,7 +57,7 @@ static struct xfrm_algo_desc aalg_list[] = {
.icv_fullbits = 128,
}
},
-   
+
.desc = {
.sadb_alg_id = SADB_AALG_MD5HMAC,
.sadb_alg_ivlen = 0,
@@ -142,14 +142,14 @@ static struct xfrm_algo_desc ealg_list[] = {
 {
.name = "ecb(cipher_null)",
.compat = "cipher_null",
-   
+
.uinfo = {
.encr = {
.blockbits = 8,
.defkeybits = 0,
}
},
-   
+
.desc = {
.sadb_alg_id =  SADB_EALG_NULL,
.sadb_alg_ivlen = 0,
@@ -248,22 +248,22 @@ static struct xfrm_algo_desc ealg_list[] = {
}
 },
 {
-.name = "cbc(serpent)",
-.compat = "serpent",
-
-.uinfo = {
-.encr = {
-.blockbits = 128,
-.defkeybits = 128,
-}
-},
-
-.desc = {
-.sadb_alg_id = SADB_X_EALG_SERPENTCBC,
-.sadb_alg_ivlen = 8,
-.sadb_alg_minbits = 128,
-.sadb_alg_maxbits = 256,
-}
+   .name = "cbc(serpent)",
+   .compat = "serpent",
+
+   .uinfo = {
+   .encr = {
+   .blockbits = 128,
+   .defkeybits = 128,
+   }
+   },
+
+   .desc = {
+   .sadb_alg_id = SADB_X_EALG_SERPENTCBC,
+   .sadb_alg_ivlen = 8,
+   .sadb_alg_minbits = 128,
+   .sadb_alg_maxbits = 256,
+   }
 },
 {
.name = "cbc(camellia)",
@@ -283,22 +283,22 @@ static struct xfrm_algo_desc ealg_list[] = {
}
 },
 {
-.name = "cbc(twofish)",
-.compat = "twofish",
- 
-.uinfo = {
-.encr = {
-.blockbits = 128,
-.defkeybits = 128,
-}
-},
-
-.desc = {
-.sadb_alg_id = SADB_X_EALG_TWOFISHCBC,
-.sadb_alg_ivlen = 8,
-.sadb_alg_minbits = 128,
-.sadb_alg_maxbits = 256
-}
+   .name = "cbc(twofish)",
+   .compat = "twofish",
+
+   .uinfo = {
+   .encr = {
+   .blockbits = 128,
+   .defkeybits = 128,
+   }
+   },
+
+   .desc = {
+   .sadb_alg_id = SADB_X_EALG_TWOFISHCBC,
+   .sadb_alg_ivlen = 8,
+   .sadb_alg_minbits = 128,
+   .sadb_alg_maxbits = 256
+   }
 },
 };
 
@@ -478,7 +478,7 @@ void xfrm_probe_algs(void)
 {
 #ifdef CONFIG_CRYPTO
int i, status;
-   
+
BUG_ON(in_softirq());
 
for (i = 0; i < aalg_entries(); i++) {
@@ -487,14 +487,14 @@ void xfrm_probe_algs(void)
if (aalg_list[i].avail